From b767991e059dda05244b68089d4ffbc1ca183a7b Mon Sep 17 00:00:00 2001 From: Mathias Klette Date: Wed, 31 Aug 2011 21:01:46 +0200 Subject: [PATCH] test for fixing missing version output --- build.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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, -- 2.39.5