diff options
Diffstat (limited to 'main.py')
-rwxr-xr-x | main.py | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -61,9 +61,7 @@ from wrapper import WrapperPath, Wrapper | |||
61 | from subcmds import all_commands | 61 | from subcmds import all_commands |
62 | 62 | ||
63 | if not is_python3(): | 63 | if not is_python3(): |
64 | # pylint:disable=W0622 | ||
65 | input = raw_input | 64 | input = raw_input |
66 | # pylint:enable=W0622 | ||
67 | 65 | ||
68 | global_options = optparse.OptionParser( | 66 | global_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 |