summaryrefslogtreecommitdiffstats
path: root/git_config.py
diff options
context:
space:
mode:
authorDavid Pursehouse <dpursehouse@collab.net>2018-06-24 16:21:51 +0900
committerDylan Deng <dxx1104@gmail.com>2018-07-24 22:20:08 +0800
commit65b0ba5aa0447f7ee25103828115662b1eb80ff9 (patch)
treedebc2790e91665968a31319f8fe039f4638911a1 /git_config.py
parenta6515fb952ab31a820288ce342e31d2917d0a06c (diff)
downloadgit-repo-65b0ba5aa0447f7ee25103828115662b1eb80ff9.tar.gz
Remove unused pylint suppressions
pylint is not used since bb5b1a0. The pyflakes cleanup mentioned in that commit has not been done, but given that this project is no longer being actively developed I don't think it's worth spending time doing it. Leaving the pylint suppressions causes confusion because it leads people to think that we are still using pylint. Change-Id: If7d9f280a0f408c780f15915ffdb80579ae21f69
Diffstat (limited to 'git_config.py')
-rw-r--r--git_config.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/git_config.py b/git_config.py
index 854b2387..7bc6f77d 100644
--- a/git_config.py
+++ b/git_config.py
@@ -306,8 +306,7 @@ class GitConfig(object):
306 d = self._do('--null', '--list') 306 d = self._do('--null', '--list')
307 if d is None: 307 if d is None:
308 return c 308 return c
309 for line in d.decode('utf-8').rstrip('\0').split('\0'): # pylint: disable=W1401 309 for line in d.decode('utf-8').rstrip('\0').split('\0'):
310 # Backslash is not anomalous
311 if '\n' in line: 310 if '\n' in line:
312 key, val = line.split('\n', 1) 311 key, val = line.split('\n', 1)
313 else: 312 else: