Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2846)

Unified Diff: Lib/packaging/pypi/dist.py

Issue 14778: logging messages about bad version numbers should include the project name
Patch Set: Created 1 year, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Misc/ACKS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Lib/packaging/pypi/dist.py Mon May 14 19:45:27 2012 +0200
+++ b/Lib/packaging/pypi/dist.py Mon May 14 22:39:31 2012 +0200
@@ -77,7 +77,7 @@
if suggestion:
self.version = suggestion
else:
- raise IrrationalVersionError(version)
+ raise IrrationalVersionError("%s: %s" % (self.name, version))
def get_version(self):
return self._version
« no previous file with comments | « no previous file | Misc/ACKS » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld cbc36f91f3f7