This commit is contained in:
Akinori Hattori
2012-11-22 18:23:28 +09:00
parent 24b8942713
commit 1a93c64cd0
+1 -1
View File
@@ -55,7 +55,7 @@ class CachedModule(object):
# In case there is already a module cached and this module # In case there is already a module cached and this module
# has to be reparsed, we also need to invalidate the import # has to be reparsed, we also need to invalidate the import
# caches. # caches.
imports.invalidate_star_import_cache(self._parser.module) imports.invalidate_star_import_cache(parser.module)
raise KeyError() raise KeyError()
except KeyError: except KeyError:
self._load_module() self._load_module()