aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools
diff options
context:
space:
mode:
authorPJ Eby <distutils-sig@python.org>2008-08-21 19:10:15 +0000
committerPJ Eby <distutils-sig@python.org>2008-08-21 19:10:15 +0000
commitd76df70dd1dffb2591c6a26ecc2a20958ee03073 (patch)
tree53aa5e48940e0b18260b7677ae028c3239ba968c /setuptools
parenta3d2ad2b887a4bd1d442a97496d5400eeaf0c566 (diff)
downloadexternal_python_setuptools-d76df70dd1dffb2591c6a26ecc2a20958ee03073.tar.gz
external_python_setuptools-d76df70dd1dffb2591c6a26ecc2a20958ee03073.tar.bz2
external_python_setuptools-d76df70dd1dffb2591c6a26ecc2a20958ee03073.zip
Fix for http://bugs.python.org/setuptools/issue29 (backport from trunk)
--HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4065953
Diffstat (limited to 'setuptools')
-rwxr-xr-xsetuptools/package_index.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/package_index.py b/setuptools/package_index.py
index 055291a1..da3fed12 100755
--- a/setuptools/package_index.py
+++ b/setuptools/package_index.py
@@ -629,7 +629,7 @@ class PackageIndex(Environment):
for line in file:
if line.strip():
# Check for a subversion index page
- if re.search(r'<title>Revision \d+:', line):
+ if re.search(r'<title>([^- ]+ - )?Revision \d+:', line):
# it's a subversion index page:
file.close()
os.unlink(filename)