From cc8e604d81d43007ca5dc66bf0174dc84a8f4d8b Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 17 Sep 2011 18:29:22 +0200 Subject: [PATCH] ugly but hopefully working --- debian_build.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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() -- 2.39.5