Merge with crew
authorLee Cantey <lcantey@gmail.com>
Mon, 18 Jun 2007 15:06:14 -0700
changeset 4627 d4e4d0f4fba4
parent 4626 eb99af2d845e (current diff)
parent 4625 eaf87cd19337 (diff)
child 4628 02956be66a58
Merge with crew
--- a/mercurial/util.py	Mon Jun 18 15:03:55 2007 -0700
+++ b/mercurial/util.py	Mon Jun 18 15:06:14 2007 -0700
@@ -161,7 +161,7 @@
 
 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)