diff --git a/gitc_utils.py b/gitc_utils.py index 0f3e1818..a388dc27 100644 --- a/gitc_utils.py +++ b/gitc_utils.py @@ -127,7 +127,7 @@ def generate_gitc_manifest(gitc_manifest, manifest, paths=None): repo_proj.revisionExpr = None # Convert URLs from relative to absolute. - for name, remote in manifest.remotes.iteritems(): + for _name, remote in manifest.remotes.iteritems(): remote.fetchUrl = remote.resolvedFetchUrl # Save the manifest. diff --git a/main.py b/main.py index 4f4eb9fc..c5f1e9c3 100755 --- a/main.py +++ b/main.py @@ -379,7 +379,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): + def http_error_401(self, req, fp, code, msg, headers): # pylint:disable=unused-argument host = req.get_host() retry = self.http_error_auth_reqed('www-authenticate', host, req, headers) return retry