]> git.decadent.org.uk Git - dak.git/commitdiff
Its subprocess.PIPE, not PIPE
authorJoerg Jaspert <joerg@debian.org>
Sun, 25 Jan 2009 00:50:08 +0000 (01:50 +0100)
committerJoerg Jaspert <joerg@debian.org>
Sun, 25 Jan 2009 00:50:08 +0000 (01:50 +0100)
Signed-off-by: Joerg Jaspert <joerg@debian.org>
dak/generate_index_diffs.py

index 84b0a67cffc970f324289fb2adf097b0fdb1d0fd..3fe86e112d18d01cc8fafe18a0ee9cd049827840 100755 (executable)
@@ -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)