changeset 4627:d4e4d0f4fba4

Merge with crew
author Lee Cantey <lcantey@gmail.com>
date Mon, 18 Jun 2007 15:06:14 -0700
parents eb99af2d845e (current diff) eaf87cd19337 (diff)
children 02956be66a58
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/util.py
+++ b/mercurial/util.py
@@ -161,7 +161,7 @@ def cachefunc(func):
 
 def pipefilter(s, cmd):
     '''filter string S through command CMD, returning its output'''
-    (pout, pin) = popen2.popen2(cmd, -1, 'b')
+    (pin, pout) = os.popen2(cmd, 'b')
     def writer():
         try:
             pin.write(s)