From: Holger Levsen Date: Sat, 17 Sep 2011 16:29:22 +0000 (+0200) Subject: ugly but hopefully working X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=cc8e604d81d43007ca5dc66bf0174dc84a8f4d8b;p=profitbricks%2Fjenkins-build-scripts.git ugly but hopefully working --- diff --git a/debian_build.py b/debian_build.py index 50bb7f4..c8b4de3 100755 --- a/debian_build.py +++ b/debian_build.py @@ -396,7 +396,9 @@ if __name__ == '__main__': ) exit_error() + # FIXME: aka make it work now changelog = parse_changelog.stdout + changelog2 = changelog cmd = ['grep-dctrl', '-n', '-s', 'Distribution', ''] grep_dctrl = subprocess.Popen( @@ -430,7 +432,7 @@ if __name__ == '__main__': cmd, shell=False, close_fds=True, - stdin=changelog, + stdin=changelog2, stdout=subprocess.PIPE, stderr=sys.stderr, cwd=os.getcwd()