Skip to content

Commit

Permalink
Fix format_for_error for remote URL candidates
Browse files Browse the repository at this point in the history
  • Loading branch information
pfmoore committed Jun 5, 2020
1 parent 76058d1 commit 7c332b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pip/_internal/resolution/resolvelib/candidates.py
Expand Up @@ -168,7 +168,7 @@ def format_for_error(self):
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):
Expand Down

0 comments on commit 7c332b4

Please sign in to comment.