Fix bug I unwittingly added in 1521d9837d16 (found by Ezio Melotti)

This commit is contained in:
Éric Araujo 2011-08-01 15:29:07 +02:00
parent 23457f1812
commit cee6bb5499
1 changed files with 1 additions and 2 deletions

View File

@ -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 = {}