From c1b86a232383748811c6faf17f364e63e10f7dd4 Mon Sep 17 00:00:00 2001 From: David Pursehouse Date: Wed, 14 Nov 2012 11:36:51 +0900 Subject: 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 --- git_config.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'git_config.py') 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): for line in d.rstrip('\0').split('\0'): # pylint: disable=W1401 # Backslash is not anomalous if '\n' in line: - key, val = line.split('\n', 1) + key, val = line.split('\n', 1) else: - key = line - val = None + key = line + val = None if key in c: c[key].append(val) -- cgit v1.2.3-54-g00ecf