diff options
Diffstat (limited to 'Lib/modulefinder.py')
-rw-r--r-- | Lib/modulefinder.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/modulefinder.py b/Lib/modulefinder.py index 5145f72..160e82f 100644 --- a/Lib/modulefinder.py +++ b/Lib/modulefinder.py @@ -279,7 +279,8 @@ class ModuleFinder: self.msgout(3, "import_module ->", m) return m - def load_module(self, fqname, fp, pathname, (suffix, mode, type)): + def load_module(self, fqname, fp, pathname, file_info): + suffix, mode, type = file_info self.msgin(2, "load_module", fqname, fp and "fp", pathname) if type == imp.PKG_DIRECTORY: m = self.load_package(fqname, pathname) |