summaryrefslogtreecommitdiffstats
path: root/main.py
diff options
context:
space:
mode:
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