From 1f472870e2650de12da0489193445f61bf3fd652 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 1 Sep 2011 10:51:16 +0200 Subject: [PATCH] remove newline --- build.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/build.py b/build.py index 094ec54..99a94cb 100755 --- a/build.py +++ b/build.py @@ -358,11 +358,6 @@ if __name__ == '__main__': ) ret = parse_changelog.wait() - #stdout_msg = parse_changelog.stdout.read() - - #logger.info(stdout_msg) - - # i hate this: a version needs to include a . now... cmd = ['grep-dctrl', '-n', '-s', 'Version', ''] grep_dctrl = subprocess.Popen( cmd, @@ -375,8 +370,11 @@ if __name__ == '__main__': ) ret = grep_dctrl.wait() version = grep_dctrl.stdout.read() + version = version.strip() logger.info('version is %s' % (version)) - logger.info('std-error is %s' % (grep_dctrl.stderr.read())) + + stdout_msg = parse_changelog.stdout.read() + logger.info(stdout_msg) if not GIT_COMMITTER_EMAIL: -- 2.39.5