Remove req.name check

This commit is contained in:
Devesh Kumar Singh 2020-05-22 00:41:50 +05:30
parent 716a067335
commit 5e33373a07
1 changed files with 3 additions and 4 deletions

View File

@ -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