##// END OF EJS Templates
run-tests: find mercurial path with syntax valid on both py2 and py3
Augie Fackler -
r19759:1b8054b9 default
parent child Browse files
Show More
@@ -1048,7 +1048,7 b' def _gethgpath():'
1048 1048 if _hgpath is not None:
1049 1049 return _hgpath
1050 1050
1051 cmd = '%s -c "import mercurial; print mercurial.__path__[0]"'
1051 cmd = '%s -c "import mercurial; print (mercurial.__path__[0])"'
1052 1052 pipe = os.popen(cmd % PYTHON)
1053 1053 try:
1054 1054 _hgpath = pipe.read().strip()
General Comments 0
You need to be logged in to leave comments. Login now