From: Joerg Jaspert Date: Sun, 25 Jan 2009 00:50:08 +0000 (+0100) Subject: Its subprocess.PIPE, not PIPE X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46ca5f337b777e413b80774e2e19669779988944;p=dak Its subprocess.PIPE, not PIPE Signed-off-by: Joerg Jaspert --- diff --git a/dak/generate_index_diffs.py b/dak/generate_index_diffs.py index 84b0a67c..3fe86e11 100755 --- a/dak/generate_index_diffs.py +++ b/dak/generate_index_diffs.py @@ -256,7 +256,7 @@ def genchanges(Options, outdir, oldfile, origfile, maxdiffs = 14): cmd = "diff --ed - %s | gzip -c -9 > %s.gz" % (newfile, difffile) # Do we need shell=True? - w = subprocess.Popen(cmd, shell=True, stdin=PIPE).stdin + w = subprocess.Popen(cmd, shell=True, stdin=subprocess.PIPE).stdin # I bet subprocess can do that better than this, but lets do little steps pipe_file(oldf, w)