# HG changeset patch # User Jeff Sickel # Date 1379104804 18000 # Node ID dfefb719eb92ed6cb72a2101db9ea5ccb70650fa # Parent 3daabd2da78b335048268db78ac9df834427f148 plan9: update util.py for cpython 2.7 build diff -r 3daabd2da78b -r dfefb719eb92 mercurial/util.py --- 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: