summaryrefslogtreecommitdiffstats
path: root/Lib/modulefinder.py
diff options
context:
space:
mode:
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)
commitcee6bb549946bb096aa380a49f3b11daf2d8713e (patch)
tree449460701d47862107ac3572f9fd9f346a60d1e3 /Lib/modulefinder.py
parent23457f181261a6b53fdde7778bd3a2d23db305b8 (diff)
downloadcpython-cee6bb549946bb096aa380a49f3b11daf2d8713e.zip
cpython-cee6bb549946bb096aa380a49f3b11daf2d8713e.tar.gz
cpython-cee6bb549946bb096aa380a49f3b11daf2d8713e.tar.bz2
Fix bug I unwittingly added in 1521d9837d16 (found by Ezio Melotti)
Diffstat (limited to 'Lib/modulefinder.py')
-rw-r--r--Lib/modulefinder.py3
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 = {}