[Python-checkins] python/nondist/sandbox/setuptools pkg_resources.py, 1.63, 1.64
pje@users.sourceforge.net
pje at users.sourceforge.net
Thu Aug 11 02:37:46 CEST 2005
Update of /cvsroot/python/python/nondist/sandbox/setuptools
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32307
Modified Files:
pkg_resources.py
Log Message:
Fix bugs reported by Ian Bicking, Walter Doerwald, and Vincenzo Di Massa.
Index: pkg_resources.py
===================================================================
RCS file: /cvsroot/python/python/nondist/sandbox/setuptools/pkg_resources.py,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -d -r1.63 -r1.64
--- pkg_resources.py 9 Aug 2005 15:50:39 -0000 1.63
+++ pkg_resources.py 11 Aug 2005 00:37:37 -0000 1.64
@@ -1794,8 +1794,8 @@
self._version = safe_version(line.split(':',1)[1].strip())
return self._version
else:
- raise AttributeError(
- "Missing 'Version:' header in PKG-INFO", self
+ raise ValueError(
+ "Missing 'Version:' header and/or PKG-INFO file", self
)
version = property(version)
More information about the Python-checkins
mailing list