1. Carl Meyer
  2. pip-integration

Commits

Carl Meyer  committed 8698341

fix file-handling bug in _sort_locations

  • Participants
  • Parent commits f8c5cd0
  • Branches default

Comments (0)

Files changed (1)

File pip/index.py

View file
  • Ignore whitespace
                     for item in os.listdir(path):
                         sort_path(os.path.join(path, item))
                 elif os.path.isfile(path):
-                    sort_path(os.path.join(path, item))
+                    sort_path(path)
             else:
                 urls.append(url)
         return files, urls