[Python-checkins] python/nondist/sandbox/setuptools/setuptools package_index.py, 1.20, 1.21
pje@users.sourceforge.net
pje at users.sourceforge.net
Sat Sep 24 21:44:30 CEST 2005
Update of /cvsroot/python/python/nondist/sandbox/setuptools/setuptools
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22287/setuptools
Modified Files:
package_index.py
Log Message:
Fix a bug parsing #egg links reported by Ben Bangert on the distutils-sig.
Index: package_index.py
===================================================================
RCS file: /cvsroot/python/python/nondist/sandbox/setuptools/setuptools/package_index.py,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- package_index.py 14 Sep 2005 03:28:10 -0000 1.20
+++ package_index.py 24 Sep 2005 19:44:27 -0000 1.21
@@ -6,7 +6,7 @@
from distutils.errors import DistutilsError
from md5 import md5
-EGG_FRAGMENT = re.compile('^egg=(\\w+(-\\w+)?)$')
+EGG_FRAGMENT = re.compile(r'^egg=([-A-Za-z0-9_.]+)$')
HREF = re.compile("""href\\s*=\\s*['"]?([^'"> ]+)""", re.I)
# this is here to fix emacs' cruddy broken syntax highlighting
More information about the Python-checkins
mailing list