From ae44a337be270d9051e86eb0da625efe341fff9d Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Tue, 9 Dec 2003 21:33:13 +0000 Subject: [PATCH] Put the new module in sys.modules, just to be safe. --- src/Owner.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Owner.py b/src/Owner.py index 4aceae192..141379ece 100644 --- a/src/Owner.py +++ b/src/Owner.py @@ -71,6 +71,8 @@ def loadPluginModule(name): pass moduleInfo = imp.find_module(name, conf.pluginDirs) module = imp.load_module(name, *moduleInfo) + if module.__name__ in sys.modules: + sys.modules[module.__name__] = module linecache.checkcache() return module