Skip to content

Commit

Permalink
Diagnostic hint: bring back the old output format
Browse files Browse the repository at this point in the history
  • Loading branch information
MrMino committed Jan 2, 2021
1 parent 8755b3d commit d5ce3a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pip/_internal/resolution/resolvelib/factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -431,10 +431,10 @@ def get_installation_error(self, e):
versions = [str(v) for v in sorted(set(c.version for c in cands))]

logger.critical(
"Could not find a version that satisfies the requirement %s"
"\nAvailable versions:\n%s",
"Could not find a version that satisfies the requirement %s "
"(from versions: %s)",
req_disp,
', '.join(versions) or '(none)',
', '.join(versions) or 'none',
)

return DistributionNotFound(
Expand Down

0 comments on commit d5ce3a0

Please sign in to comment.