mercurial/ui.py
branchstable
changeset 33585 d90f9e4704de
parent 33499 0407a51b9d8c
child 33620 cc047a733f69
child 33687 6294654453ee
--- a/mercurial/ui.py	Mon Jul 24 14:42:55 2017 -0400
+++ b/mercurial/ui.py	Mon Jul 24 13:50:25 2017 -0400
@@ -648,7 +648,7 @@
             if default is _unset:
                 default = 0
             value = default
-        if not isinstance(value, str):
+        if not isinstance(value, bytes):
             return value
         try:
             return util.sizetoint(value)