From f46b7bbdcad6a8b1cb0a5475828562fbdcce6924 Mon Sep 17 00:00:00 2001 From: Moses Hassan Date: Sun, 28 Jul 2019 00:45:48 +0700 Subject: [PATCH] Removed inline comment --- src/pip/_internal/download.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pip/_internal/download.py b/src/pip/_internal/download.py index 83dcc43bc57..6da6830b1a9 100644 --- a/src/pip/_internal/download.py +++ b/src/pip/_internal/download.py @@ -332,7 +332,7 @@ def __call__(self, req): if username is not None or password is not None: # Send the basic auth with this request - req = HTTPBasicAuth(username or "", password or "")(req) # Avoid passing Nonetype + req = HTTPBasicAuth(username or "", password or "")(req) # Attach a hook to handle 401 responses req.register_hook("response", self.handle_401)