mirror of https://github.com/pypa/pip
Remove req.name check
This commit is contained in:
parent
716a067335
commit
5e33373a07
|
@ -138,10 +138,9 @@ class DownloadCommand(RequirementCommand):
|
|||
reqs, check_supported_wheels=True
|
||||
)
|
||||
|
||||
downloaded = ' '.join([
|
||||
req.name for req in requirement_set.requirements.values()
|
||||
if req.successfully_downloaded and req.name
|
||||
])
|
||||
downloaded = ' '.join([req.name # type: ignore
|
||||
for req in requirement_set.requirements.values()
|
||||
if req.successfully_downloaded])
|
||||
if downloaded:
|
||||
write_output('Successfully downloaded %s', downloaded)
|
||||
return SUCCESS
|
||||
|
|
Loading…
Reference in New Issue