mirror of https://github.com/python/cpython
Fix bug I unwittingly added in 1521d9837d16 (found by Ezio Melotti)
This commit is contained in:
parent
23457f1812
commit
cee6bb5499
|
@ -26,8 +26,7 @@ packagePathMap = {}
|
|||
|
||||
# A Public interface
|
||||
def AddPackagePath(packagename, path):
|
||||
paths = packagePathMap.setdefault(packagename, []).append(path)
|
||||
packagePathMap[packagename] = paths
|
||||
packagePathMap.setdefault(packagename, []).append(path)
|
||||
|
||||
replacePackageMap = {}
|
||||
|
||||
|
|
Loading…
Reference in New Issue