From: Holger Levsen Date: Sat, 17 Sep 2011 17:55:07 +0000 (+0200) Subject: this should do it. X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=ef14a49883e294c956e7ed58b7b639db75eec365;p=profitbricks%2Fjenkins-build-scripts.git this should do it. --- 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...