From d76df70dd1dffb2591c6a26ecc2a20958ee03073 Mon Sep 17 00:00:00 2001 From: PJ Eby Date: Thu, 21 Aug 2008 19:10:15 +0000 Subject: 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 --- setuptools/package_index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setuptools/package_index.py') 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'Revision \d+:', line): + if re.search(r'<title>([^- ]+ - )?Revision \d+:', line): # it's a subversion index page: file.close() os.unlink(filename) -- cgit v1.2.1