Fix format_for_error for remote URL candidates

This commit is contained in:
Paul Moore 2020-06-05 13:56:32 +01:00
parent 2795742b31
commit a42ed23adc
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ class _InstallRequirementBackedCandidate(Candidate):
return "{} {} (from {})".format(
self.name,
self.version,
self.link.file_path
self.link.file_path if self.link.is_file else self.link
)
def _prepare_abstract_distribution(self):