]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
fix typo
authorHolger Levsen <holger@layer-acht.org>
Tue, 1 Nov 2011 15:41:02 +0000 (16:41 +0100)
committerHolger Levsen <holger@layer-acht.org>
Tue, 1 Nov 2011 15:41:02 +0000 (16:41 +0100)
debian_build.py

index 68398e09e8adad3c5f7472c39722709f68d974a8..a29d0837bf55ec31f719342f576f7b424ac9a269 100755 (executable)
@@ -502,7 +502,7 @@ if __name__ == '__main__':
                 ret = os.system('%s' %(' '.join(cmd)))
                 if ret:
                     logger_loud_error('"%s" returned non-zero (exitcode was: %s).' % (' '.join(cmd), ret))
-                    logger.exception(error)
+                    logger.exception(ret)
                     exit_error()
             fh.close()