diff options
Diffstat (limited to 'git_config.py')
-rw-r--r-- | git_config.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/git_config.py b/git_config.py index 6bb92003..108438f6 100644 --- a/git_config.py +++ b/git_config.py | |||
@@ -303,10 +303,10 @@ class GitConfig(object): | |||
303 | for line in d.rstrip('\0').split('\0'): # pylint: disable=W1401 | 303 | for line in d.rstrip('\0').split('\0'): # pylint: disable=W1401 |
304 | # Backslash is not anomalous | 304 | # Backslash is not anomalous |
305 | if '\n' in line: | 305 | if '\n' in line: |
306 | key, val = line.split('\n', 1) | 306 | key, val = line.split('\n', 1) |
307 | else: | 307 | else: |
308 | key = line | 308 | key = line |
309 | val = None | 309 | val = None |
310 | 310 | ||
311 | if key in c: | 311 | if key in c: |
312 | c[key].append(val) | 312 | c[key].append(val) |