diff options
author | PJ Eby <distutils-sig@python.org> | 2008-08-21 19:10:15 +0000 |
---|---|---|
committer | PJ Eby <distutils-sig@python.org> | 2008-08-21 19:10:15 +0000 |
commit | d76df70dd1dffb2591c6a26ecc2a20958ee03073 (patch) | |
tree | 53aa5e48940e0b18260b7677ae028c3239ba968c /setuptools | |
parent | a3d2ad2b887a4bd1d442a97496d5400eeaf0c566 (diff) | |
download | external_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-x | setuptools/package_index.py | 2 |
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) |