]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
fix syntax
authorHolger Levsen <holger@layer-acht.org>
Wed, 2 Nov 2011 17:32:27 +0000 (18:32 +0100)
committerHolger Levsen <holger@layer-acht.org>
Wed, 2 Nov 2011 17:32:27 +0000 (18:32 +0100)
debian_build.py

index 6c23ba19073fcd6c1d7616ce7d7537436fb7794f..963b511fda1a0dd61e2cec4463c72adfab83fd8b 100755 (executable)
@@ -517,10 +517,9 @@ if __name__ == '__main__':
 
                 if ret.code == 200:
                     logger.info('jenkins url called successfully.')
-                elif 
+                else: 
                     logger.info('URL was %s' % JOB_URL %(urlencode_expansion_dict) + '%s' %(data))
-                    logger.info('jenkins sends the following: %s' %(ret.read())
-                    )
+                    logger.info('jenkins sends the following: %s' %(ret.read())                    )
                     exit_error()
             fh.close()