Skip to content

Commit

Permalink
Removed inline comment
Browse files Browse the repository at this point in the history
  • Loading branch information
moseshassan committed Jul 27, 2019
1 parent 1fa49ef commit f46b7bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pip/_internal/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f46b7bb

Please sign in to comment.