]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
wtf. read the error message.
authorHolger Levsen <holger@layer-acht.org>
Thu, 25 Aug 2011 17:10:52 +0000 (19:10 +0200)
committerHolger Levsen <holger@layer-acht.org>
Thu, 25 Aug 2011 17:10:52 +0000 (19:10 +0200)
build.py

index 91c76dd5d5849cab7319844704204e8b635c8a02..97f5c7768201e7ee4e17c2d8c01bcf51334bfcd3 100755 (executable)
--- a/build.py
+++ b/build.py
@@ -156,7 +156,7 @@ def dput_package_upload(changes_path):
     output = cmd_obj.stdout.read() or None
     message = (
             '"%s" returned zero. Output was: %s'
-            %(cmd, ret, output)
+            %(cmd, output)
     )
     logger.debug(message)
     return True