summaryrefslogtreecommitdiffstats
path: root/Tools/freeze
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-09-14 16:02:28 (GMT)
committerGuido van Rossum <guido@python.org>1998-09-14 16:02:28 (GMT)
commite7e632ab6b9edda6836de34b17ac85a318c8016c (patch)
tree8cfdd89112042d1eaf8f340898fc2c810a0b431b /Tools/freeze
parenta53f30babce57fcb41d94cb91f4cc816679d22d4 (diff)
downloadcpython-e7e632ab6b9edda6836de34b17ac85a318c8016c.zip
cpython-e7e632ab6b9edda6836de34b17ac85a318c8016c.tar.gz
cpython-e7e632ab6b9edda6836de34b17ac85a318c8016c.tar.bz2
Nannified.
Diffstat (limited to 'Tools/freeze')
-rw-r--r--Tools/freeze/modulefinder.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/Tools/freeze/modulefinder.py b/Tools/freeze/modulefinder.py
index 4985d52..e406c6a 100644
--- a/Tools/freeze/modulefinder.py
+++ b/Tools/freeze/modulefinder.py
@@ -32,9 +32,9 @@ packagePathMap = {}
# A Public interface
def AddPackagePath(packagename, path):
- paths = packagePathMap.get(packagename, [])
- paths.append(path)
- packagePathMap[packagename] = paths
+ paths = packagePathMap.get(packagename, [])
+ paths.append(path)
+ packagePathMap[packagename] = paths
class Module:
@@ -302,8 +302,8 @@ class ModuleFinder:
m.__file__ = pathname
m.__path__ = [pathname]
- # As per comment at top of file, simulate runtime __path__ additions.
- m.__path__ = m.__path__ + packagePathMap.get(fqname, [])
+ # As per comment at top of file, simulate runtime __path__ additions.
+ m.__path__ = m.__path__ + packagePathMap.get(fqname, [])
fp, buf, stuff = self.find_module("__init__", m.__path__)
self.load_module(fqname, fp, buf, stuff)