summaryrefslogtreecommitdiffstats
path: root/project.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 /project.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 'project.py')
-rwxr-xr-xproject.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/project.py b/project.py
index 855bd60d..d551351b 100755
--- a/project.py
+++ b/project.py
@@ -48,9 +48,7 @@ else:
48 import urlparse 48 import urlparse
49 urllib = imp.new_module('urllib') 49 urllib = imp.new_module('urllib')
50 urllib.parse = urlparse 50 urllib.parse = urlparse
51 # pylint:disable=W0622
52 input = raw_input 51 input = raw_input
53 # pylint:enable=W0622
54 52
55 53
56def _lwrite(path, content): 54def _lwrite(path, content):
@@ -2671,7 +2669,7 @@ class Project(object):
2671 out = p.stdout 2669 out = p.stdout
2672 if out: 2670 if out:
2673 # Backslash is not anomalous 2671 # Backslash is not anomalous
2674 return out[:-1].split('\0') # pylint: disable=W1401 2672 return out[:-1].split('\0')
2675 return [] 2673 return []
2676 2674
2677 def DiffZ(self, name, *args): 2675 def DiffZ(self, name, *args):
@@ -2688,7 +2686,7 @@ class Project(object):
2688 out = p.process.stdout.read() 2686 out = p.process.stdout.read()
2689 r = {} 2687 r = {}
2690 if out: 2688 if out:
2691 out = iter(out[:-1].split('\0')) # pylint: disable=W1401 2689 out = iter(out[:-1].split('\0'))
2692 while out: 2690 while out:
2693 try: 2691 try:
2694 info = next(out) 2692 info = next(out)