diff options
author | Éric Araujo <merwok@netwok.org> | 2011-08-01 13:29:07 (GMT) |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2011-08-01 13:29:07 (GMT) |
commit | cee6bb549946bb096aa380a49f3b11daf2d8713e (patch) | |
tree | 449460701d47862107ac3572f9fd9f346a60d1e3 | |
parent | 23457f181261a6b53fdde7778bd3a2d23db305b8 (diff) | |
download | cpython-cee6bb549946bb096aa380a49f3b11daf2d8713e.zip cpython-cee6bb549946bb096aa380a49f3b11daf2d8713e.tar.gz cpython-cee6bb549946bb096aa380a49f3b11daf2d8713e.tar.bz2 |
Fix bug I unwittingly added in 1521d9837d16 (found by Ezio Melotti)
-rw-r--r-- | Lib/modulefinder.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/modulefinder.py b/Lib/modulefinder.py index da5b56d..c0910aa 100644 --- a/Lib/modulefinder.py +++ b/Lib/modulefinder.py @@ -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 = {} |