From: Holger Levsen Date: Thu, 1 Sep 2011 08:51:16 +0000 (+0200) Subject: remove newline X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=1f472870e2650de12da0489193445f61bf3fd652;p=profitbricks%2Fjenkins-build-scripts.git remove newline --- 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: