Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e7e632a

Browse files
committed
Nannified.
1 parent a53f30b commit e7e632a

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Tools/freeze/modulefinder.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@
3232

3333
# A Public interface
3434
def AddPackagePath(packagename, path):
35-
paths = packagePathMap.get(packagename, [])
36-
paths.append(path)
37-
packagePathMap[packagename] = paths
35+
paths = packagePathMap.get(packagename, [])
36+
paths.append(path)
37+
packagePathMap[packagename] = paths
3838

3939
class Module:
4040

@@ -302,8 +302,8 @@ def load_package(self, fqname, pathname):
302302
m.__file__ = pathname
303303
m.__path__ = [pathname]
304304

305-
# As per comment at top of file, simulate runtime __path__ additions.
306-
m.__path__ = m.__path__ + packagePathMap.get(fqname, [])
305+
# As per comment at top of file, simulate runtime __path__ additions.
306+
m.__path__ = m.__path__ + packagePathMap.get(fqname, [])
307307

308308
fp, buf, stuff = self.find_module("__init__", m.__path__)
309309
self.load_module(fqname, fp, buf, stuff)

0 commit comments

Comments
 (0)