From f1e605f30901c8873ad02c0a22c2345d34f96a7c Mon Sep 17 00:00:00 2001 From: Robin Wittler Date: Wed, 7 Sep 2011 11:52:52 +0200 Subject: [PATCH] fix wrong exit handling --- build.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build.py b/build.py index a664750..4a69afb 100755 --- a/build.py +++ b/build.py @@ -424,16 +424,16 @@ if __name__ == '__main__': exit_error() else: logger.debug('git-buildpackage executed successfully') - if not ret: +# if not ret: build_log=os.path.join('../build-area/result/', '%s_%s_amd64.build' % (pkg_name, version)) try: fh = open(build_log, 'r') - logger.info('%s' % (fh.read())) + logger.debug('Output of the deb build: %s' % (fh.read())) fh.close() except: pass - exit_error() - else: +# exit_error() +# else: try: create_dput_cfg() changes_file = os.path.join(GIT_TARGET_WORKSPACE, 'build-area/result/', '%s_%s_amd64.changes' % (pkg_name, version)) -- 2.39.5