Commits

Carl Meyer committed 8698341

fix file-handling bug in _sort_locations

  • Participants
  • Parent commits f8c5cd0

Comments (0)

Files changed (1)

File pip/index.py

                     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