Commits

Thomas Arendsen Hein  committed cae8201

Add util.popen3 fallback, simplify import of Popen3

  • Participants
  • Parent commits 1be530a

Comments (0)

Files changed (1)

File mercurial/util.py

         return p
 except ImportError:
     subprocess = None
-    import popen2 as _popen2
+    from popen2 import Popen3
     popen2 = os.popen2
-    Popen3 = _popen2.Popen3
+    popen3 = os.popen3
 
 
 try: