diff options
Diffstat (limited to 'mako/template.py')
-rw-r--r-- | mako/template.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mako/template.py b/mako/template.py index 9c64987..412b27c 100644 --- a/mako/template.py +++ b/mako/template.py @@ -376,7 +376,7 @@ class Template(object): filename, path, self.module_writer) - module = util.load_module(self.module_id, path) + module = compat.load_module(self.module_id, path) del sys.modules[self.module_id] if module._magic_number != codegen.MAGIC_NUMBER: data = util.read_file(filename) @@ -386,7 +386,7 @@ class Template(object): filename, path, self.module_writer) - module = util.load_module(self.module_id, path) + module = compat.load_module(self.module_id, path) del sys.modules[self.module_id] ModuleInfo(module, path, self, filename, None, None) else: |