mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
Fix bug I unwittingly added in 1521d9837d16 (found by Ezio Melotti)
This commit is contained in:
parent
23457f1812
commit
cee6bb5499
1 changed files with 1 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue