changeset 7164:cae820101762

Add util.popen3 fallback, simplify import of Popen3
author Thomas Arendsen Hein <thomas@intevation.de>
date Sun, 19 Oct 2008 12:19:55 +0200
parents 1be530a3180e
children 89431fbe0524
files mercurial/util.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/util.py	Sun Oct 19 12:13:25 2008 +0200
+++ b/mercurial/util.py	Sun Oct 19 12:19:55 2008 +0200
@@ -76,9 +76,9 @@
         return p
 except ImportError:
     subprocess = None
-    import popen2 as _popen2
+    from popen2 import Popen3
     popen2 = os.popen2
-    Popen3 = _popen2.Popen3
+    popen3 = os.popen3
 
 
 try: