]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
remove unneeded return
authorHolger Levsen <holger@layer-acht.org>
Tue, 25 Oct 2011 18:15:19 +0000 (20:15 +0200)
committerHolger Levsen <holger@layer-acht.org>
Tue, 25 Oct 2011 18:15:19 +0000 (20:15 +0200)
debian_build.py

index 0ea5fdac1ee6875c2788d9feab4140cdafc5bf9b..4d99c6c61814f8f972519273eb01bb088ae91a75 100755 (executable)
@@ -502,12 +502,11 @@ if __name__ == '__main__':
             logger.info('calling "%s" ...', ' '.join(cmd))
             ret = os.system('%s' %(' '.join(cmd)))
             if ret:
-                logger.error(
+                logger_loud_error(
                     '"%s" returned non-zero (exitcode was: %s).',
                     ' '.join(cmd),
                     ret,
                 )
-                return False
             fh.close()
             exit_ok()
         except Exception, error: