From 74924991ec8a80ce8118e082e0958b8f86de8953 Mon Sep 17 00:00:00 2001 From: Mathias Klette Date: Thu, 2 May 2013 11:10:55 +0200 Subject: [PATCH] fix debian_build --- debian_build.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian_build.py b/debian_build.py index 34c8999..cfb0e20 100755 --- a/debian_build.py +++ b/debian_build.py @@ -39,7 +39,7 @@ from multiprocessing import cpu_count from ConfigParser import SafeConfigParser # from common_code -logger = logger_init() +logger = logger_init(__file__) # local constants DEFAULT_PARALLEL_JOBS = cpu_count() + 1 @@ -128,7 +128,7 @@ def dput_package_upload(changes_path): logger.debug('Exit status: %d' %( result )) if not result: - raise Exception(message) + raise Exception(result.stdout) except Exception, error: logger.exception('%s' %(error)) -- 2.39.5