From: Holger Levsen Date: Tue, 6 Sep 2011 09:11:24 +0000 (+0200) Subject: fix syntax error X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=5d5e7b4ce10a376b576014a9a24dd69a0e798f67;p=profitbricks%2Fjenkins-build-scripts.git fix syntax error --- diff --git a/build.py b/build.py index 834ec33..31b3a93 100755 --- a/build.py +++ b/build.py @@ -364,8 +364,8 @@ if __name__ == '__main__': if ret: raise Exception( '%s was not successfull, return code was %s ' % (' '.join(cmd), ret) - exit_error() ) + exit_error() cmd = ['grep-dctrl', '-n', '-s', 'Version', ''] grep_dctrl = subprocess.Popen( @@ -381,8 +381,8 @@ if __name__ == '__main__': if ret: raise Exception( '%s was not successfull, return code was %s ' % (' '.join(cmd), ret) - exit_error() ) + exit_error() version = grep_dctrl.stdout.read() version = version.strip()