Comments
Patch
@@ -535,7 +535,7 @@
result = self.config(section, name, untrusted=untrusted)
if result is None:
result = default or []
- if isinstance(result, basestring):
+ if isinstance(result, bytes):
result = _configlist(result.lstrip(' ,\n'))
if result is None:
result = default or []
@@ -9,6 +9,6 @@
> $PYTHON3 `which hg` $cmd 2>&1 2>&1 | tail -1
> done
version
- NameError: name 'basestring' is not defined
+ TypeError: Can't convert 'bytes' object to str implicitly
debuginstall
- NameError: name 'basestring' is not defined
+ TypeError: Can't convert 'bytes' object to str implicitly