summaryrefslogtreecommitdiffstats
path: root/git_config.py
diff options
context:
space:
mode:
authorDavid Pursehouse <david.pursehouse@sonymobile.com>2012-11-14 11:36:51 +0900
committerDavid Pursehouse <david.pursehouse@sonymobile.com>2012-11-14 11:38:57 +0900
commitc1b86a232383748811c6faf17f364e63e10f7dd4 (patch)
tree8f28c8e8a922ffd4165f48a1988500070936bd39 /git_config.py
parent98ffba1401056e2d88d3f3898b6fbf5d7d3931a4 (diff)
downloadgit-repo-c1b86a232383748811c6faf17f364e63e10f7dd4.tar.gz
Fix inconsistent indentation
The repo coding style is to indent at 2 characters, but there are many places where this is not followed. Enable pylint warning "W0311: Bad indentation" and make sure all indentation is at multiples of 2 characters. Change-Id: I68f0f64470789ce2429ab11104d15d380a63e6a8
Diffstat (limited to 'git_config.py')
-rw-r--r--git_config.py6
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)