hgext/githelp.py
changeset 43793 29adf0a087a1
parent 43506 9f70512ae2cf
parent 43745 24d0189238f1
child 43973 ca5bd34c597b
--- a/hgext/githelp.py	Tue Dec 03 17:17:57 2019 -0800
+++ b/hgext/githelp.py	Thu Dec 05 11:15:19 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)
         ]
     )