changeset 19729:dfefb719eb92

plan9: update util.py for cpython 2.7 build
author Jeff Sickel <jas@corpus-callosum.com>
date Fri, 13 Sep 2013 15:40:04 -0500
parents 3daabd2da78b
children d184bae667e4
files mercurial/util.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/util.py	Fri Sep 06 23:47:59 2013 -0700
+++ b/mercurial/util.py	Fri Sep 13 15:40:04 2013 -0500
@@ -469,7 +469,8 @@
         return str(val)
     origcmd = cmd
     cmd = quotecommand(cmd)
-    if sys.platform == 'plan9':
+    if sys.platform == 'plan9' and (sys.version_info[0] == 2
+                                    and sys.version_info[1] < 7):
         # subprocess kludge to work around issues in half-baked Python
         # ports, notably bichued/python:
         if not cwd is None: