1
0
mirror of https://github.com/pypiserver/pypiserver synced 2024-11-09 16:45:51 +01:00

Fix blade2005's inability to read git diff's

This commit is contained in:
Craig Davis 2016-06-24 09:22:17 -05:00
parent 0fa6a6152a
commit fc3acd759e

@ -250,14 +250,6 @@ def _listdir(root):
fn=fn, root=root,
relfn=fn[len(root) + 1:])
try:
from .cache import listdir_cache
def listdir(root):
return listdir_cache.get(root, _listdir)
except ImportError:
listdir = _listdir
def find_packages(pkgs, prefix=""):
prefix = normalize_pkgname(prefix)