From ef14a49883e294c956e7ed58b7b639db75eec365 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 17 Sep 2011 19:55:07 +0200 Subject: [PATCH] this should do it. --- debian_build.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian_build.py b/debian_build.py index 88be310..612b703 100755 --- a/debian_build.py +++ b/debian_build.py @@ -373,11 +373,11 @@ if __name__ == '__main__': ) logger.info('debian/changelog written') - if new_log == '': + if new_log.read() == '': logger.info('git log since yesterday is empty, aborting build.') sys.exit(0) else: - logger.info('git log since yesterday: %s ' % new_log) + logger.info('git log since yesterday: %s ' % new_log.read()) # we need to commit here else git-buildpackage will use the existing debian/changelog... -- 2.39.5