1. Tarek Ziadé
  2. distribute

Commits

Comments (0)

Files changed (1)

File setuptools/package_index.py Modified

View file
  • Ignore whitespace
  • Hide word diff
         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)