mirror of
https://github.com/python/cpython.git
synced 2025-01-20 15:34:52 +08:00
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
Block a user