summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
6153121)
Signed-off-by: Joerg Jaspert <joerg@debian.org>
cmd = "diff --ed - %s | gzip -c -9 > %s.gz" % (newfile, difffile)
# Do we need shell=True?
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)
# I bet subprocess can do that better than this, but lets do little steps
pipe_file(oldf, w)