1. Tarek Ziadé
  2. distribute

Commits

phillip.eby  committed 8135dd8

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

  • Participants
  • Parent commits 8ec32b1
  • Branches setuptools-0.6

Comments (0)

Files changed (1)

File setuptools/package_index.py

View file
         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)