|
|
@@ -304,8 +304,8 @@ class GitConfig(object):
|
|
|
d = self._do('--null', '--list')
|
|
|
if d is None:
|
|
|
return c
|
|
|
- for line in d.rstrip('\0').split('\0'): # pylint: disable=W1401
|
|
|
- # Backslash is not anomalous
|
|
|
+ for line in d.decode('utf-8').rstrip('\0').split('\0'): # pylint: disable=W1401
|
|
|
+ # Backslash is not anomalous
|
|
|
if '\n' in line:
|
|
|
key, val = line.split('\n', 1)
|
|
|
else:
|