]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
fix syntax error
authorHolger Levsen <holger@layer-acht.org>
Tue, 6 Sep 2011 09:11:24 +0000 (11:11 +0200)
committerHolger Levsen <holger@layer-acht.org>
Tue, 6 Sep 2011 09:11:24 +0000 (11:11 +0200)
build.py

index 834ec3365ff692f2224da3ac58ef9695f379d1b2..31b3a938ab3ec3ab42beb3171ad985b20b844afa 100755 (executable)
--- 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()