提交 46ca5f33 编写于 作者: J Joerg Jaspert

Its subprocess.PIPE, not PIPE

Signed-off-by: NJoerg Jaspert <joerg@debian.org>
上级 6153121f
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册