Commits

Anonymous committed 8135dd8

Fix for http://bugs.python.org/setuptools/issue29 (backport from trunk)

Comments (0)

Files changed (1)

setuptools/package_index.py

         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)