Skip to content

Commit

Permalink
Do not show full URLs when downloading from PyPI
Browse files Browse the repository at this point in the history
  • Loading branch information
pradyunsg committed Oct 16, 2019
1 parent bc7948e commit 6727972
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 @@ -224,7 +224,7 @@ def written_chunks(chunks):

progress_indicator = _progress_indicator

if link.netloc == PyPI.netloc:
if link.netloc == PyPI.file_storage_domain:
url = link.show_url
else:
url = link.url_without_fragment
Expand Down

0 comments on commit 6727972

Please sign in to comment.