Code review: fixed comments

This commit is contained in:
Alexander Petrov 2019-11-15 09:39:55 +00:00 committed by Stanisław Barzowski
parent d8f0505fc9
commit f3b46ad15c

View File

@ -24,7 +24,7 @@ MODULE_SOURCES = ['cpp-jsonnet/python/_jsonnet.c']
def get_version(): def get_version():
""" """
Parses the version out of libjsonnet.h Parses the version out of vm.go
""" """
with open(os.path.join(DIR, 'vm.go')) as f: with open(os.path.join(DIR, 'vm.go')) as f:
for line in f: for line in f:
@ -41,7 +41,7 @@ class BuildJsonnetExt(BuildExt):
p.wait() p.wait()
if p.returncode != 0: if p.returncode != 0:
raise Exception('Could not build libgojsonnet.so') raise Exception('Could not build libgojsonnet.a')
BuildExt.run(self) BuildExt.run(self)