From 56c700866472240512cb69455d8f3372dbf80ef2 Mon Sep 17 00:00:00 2001 From: Mathias Klette Date: Thu, 2 May 2013 11:41:28 +0200 Subject: [PATCH] fix debian_build: match against int instead of relying on boolean values --- debian_build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian_build.py b/debian_build.py index d2438c3..982d166 100755 --- a/debian_build.py +++ b/debian_build.py @@ -127,7 +127,7 @@ def dput_package_upload(changes_path): result = cmd_obj.wait() logger.debug('Exit status: %d' %( result )) - if not result: + if result != 0: raise Exception('FIXME: explain the error') except Exception, error: -- 2.39.5