mercurial/policy.py
changeset 31308 62939e0148f1
parent 29490 b4d117cee636
child 31361 8a17c541177f
--- a/mercurial/policy.py	Wed Mar 08 18:11:19 2017 -0500
+++ b/mercurial/policy.py	Wed Mar 08 18:11:41 2017 -0500
@@ -39,7 +39,7 @@
 # Our C extensions aren't yet compatible with Python 3. So use pure Python
 # on Python 3 for now.
 if sys.version_info[0] >= 3:
-    policy = 'py'
+    policy = b'py'
 
 # Environment variable can always force settings.
 policy = os.environ.get('HGMODULEPOLICY', policy)