Skip to content

Commit

Permalink
fixup! Improve BadZipFile reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasjuhrich committed Oct 17, 2021
1 parent 22c3c6b commit 799e54b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pip/_internal/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def __init__(self, location: str, name: str):
self.name = name

def __str__(self) -> str:
return f"Wheel {self.name} located at {self.location} is invalid."
return f"Wheel '{self.name}' located at {self.location} is invalid."


class MetadataInconsistent(InstallationError):
Expand Down

0 comments on commit 799e54b

Please sign in to comment.