hgext/githelp.py
branchstable
changeset 43745 24d0189238f1
parent 43117 8ff1ecfadcd1
child 43793 29adf0a087a1
--- a/hgext/githelp.py	Sat Nov 30 03:01:44 2019 -0500
+++ b/hgext/githelp.py	Sat Nov 30 03:02:53 2019 -0500
@@ -115,7 +115,7 @@
     args = list([convert(x) for x in args])
     opts = dict(
         [
-            (k, convert(v)) if isinstance(v, str) else (k, v)
+            (k, convert(v)) if isinstance(v, bytes) else (k, v)
             for k, v in pycompat.iteritems(opts)
         ]
     )