We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fa49ef commit f46b7bbCopy full SHA for f46b7bb
src/pip/_internal/download.py
@@ -332,7 +332,7 @@ def __call__(self, req):
332
333
if username is not None or password is not None:
334
# Send the basic auth with this request
335
- req = HTTPBasicAuth(username or "", password or "")(req) # Avoid passing Nonetype
+ req = HTTPBasicAuth(username or "", password or "")(req)
336
337
# Attach a hook to handle 401 responses
338
req.register_hook("response", self.handle_401)
0 commit comments