changeset 38062:9d44c71bd892

py3: use pycompat.bytestr() instead of str() in extensions.py Differential Revision: https://phab.mercurial-scm.org/D3568
author Pulkit Goyal <7895pulkit@gmail.com>
date Fri, 27 Apr 2018 21:54:37 +0530
parents 2f406142d7b4
children 538e850ae737
files mercurial/extensions.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/extensions.py	Wed May 16 07:58:02 2018 +0530
+++ b/mercurial/extensions.py	Fri Apr 27 21:54:37 2018 +0530
@@ -727,7 +727,7 @@
     else:
         version = ''
     if isinstance(version, (list, tuple)):
-        version = '.'.join(str(o) for o in version)
+        version = '.'.join(pycompat.bytestr(o) for o in version)
     return version
 
 def ismoduleinternal(module):