Mercurial > hg > mercurial-crew
diff mercurial/util.py @ 8339:f55869abb5c3
util: remove ignored mode argument in popen[23]
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Sat, 09 May 2009 17:32:57 +0200 (2009-05-09) |
parents | aa25be1c2889 |
children | fce065538bcf |
line wrap: on
line diff
--- a/mercurial/util.py +++ b/mercurial/util.py @@ -38,12 +38,12 @@ import subprocess closefds = os.name == 'posix' -def popen2(cmd, mode='t', bufsize=-1): +def popen2(cmd, bufsize=-1): p = subprocess.Popen(cmd, shell=True, bufsize=bufsize, close_fds=closefds, stdin=subprocess.PIPE, stdout=subprocess.PIPE) return p.stdin, p.stdout -def popen3(cmd, mode='t', bufsize=-1): +def popen3(cmd, bufsize=-1): p = subprocess.Popen(cmd, shell=True, bufsize=bufsize, close_fds=closefds, stdin=subprocess.PIPE, stdout=subprocess.PIPE,