summaryrefslogtreecommitdiffstats
path: root/main.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 /main.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 'main.py')
-rwxr-xr-xmain.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/main.py b/main.py
index a6538c2a..be5e3131 100755
--- a/main.py
+++ b/main.py
@@ -61,9 +61,7 @@ from wrapper import WrapperPath, Wrapper
61from subcmds import all_commands 61from subcmds import all_commands
62 62
63if not is_python3(): 63if not is_python3():
64 # pylint:disable=W0622
65 input = raw_input 64 input = raw_input
66 # pylint:enable=W0622
67 65
68global_options = optparse.OptionParser( 66global_options = optparse.OptionParser(
69 usage="repo [-p|--paginate|--no-pager] COMMAND [ARGS]" 67 usage="repo [-p|--paginate|--no-pager] COMMAND [ARGS]"
@@ -396,7 +394,7 @@ class _KerberosAuthHandler(urllib.request.BaseHandler):
396 self.context = None 394 self.context = None
397 self.handler_order = urllib.request.BaseHandler.handler_order - 50 395 self.handler_order = urllib.request.BaseHandler.handler_order - 50
398 396
399 def http_error_401(self, req, fp, code, msg, headers): # pylint:disable=unused-argument 397 def http_error_401(self, req, fp, code, msg, headers):
400 host = req.get_host() 398 host = req.get_host()
401 retry = self.http_error_auth_reqed('www-authenticate', host, req, headers) 399 retry = self.http_error_auth_reqed('www-authenticate', host, req, headers)
402 return retry 400 return retry