From: Mathias Klette Date: Wed, 31 Aug 2011 19:01:46 +0000 (+0200) Subject: test for fixing missing version output X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=b767991e059dda05244b68089d4ffbc1ca183a7b;p=profitbricks%2Fjenkins-build-scripts.git test for fixing missing version output --- diff --git a/build.py b/build.py index 33f590c..caa1ff9 100755 --- a/build.py +++ b/build.py @@ -358,13 +358,13 @@ if __name__ == '__main__': ) ret = parse_changelog.wait() - stdout_msg = parse_changelog.stdout.read() + #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', '.'] - cmd = [ 'awk', '/^Version: / {print $2}'] + cmd = ['grep-dctrl', '-n', '-s', 'Version', ''] + #cmd = [ 'awk', '/^Version: / {print $2}'] grep_dctrl = subprocess.Popen( cmd, shell=False,