From 65b0ba5aa0447f7ee25103828115662b1eb80ff9 Mon Sep 17 00:00:00 2001 From: David Pursehouse Date: Sun, 24 Jun 2018 16:21:51 +0900 Subject: 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 --- main.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'main.py') 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 from subcmds import all_commands if not is_python3(): - # pylint:disable=W0622 input = raw_input - # pylint:enable=W0622 global_options = optparse.OptionParser( usage="repo [-p|--paginate|--no-pager] COMMAND [ARGS]" @@ -396,7 +394,7 @@ class _KerberosAuthHandler(urllib.request.BaseHandler): self.context = None self.handler_order = urllib.request.BaseHandler.handler_order - 50 - def http_error_401(self, req, fp, code, msg, headers): # pylint:disable=unused-argument + def http_error_401(self, req, fp, code, msg, headers): host = req.get_host() retry = self.http_error_auth_reqed('www-authenticate', host, req, headers) return retry -- cgit v1.2.3-54-g00ecf