Fix typo.

This commit is contained in:
Valentin Lorentz 2013-05-10 22:03:15 +02:00
parent 3570acff72
commit e787f3343e

View File

@ -60,7 +60,7 @@ def loadPluginModule(name, ignoreDeprecation=False):
module = imp.load_module(name, *moduleInfo)
except:
sys.modules.pop(name, None)
sys.modules = filter(lambda x:not x.startwith(name + '.'), sys.modules)
sys.modules = filter(lambda x:not x.startswith(name + '.'), sys.modules)
raise
if 'deprecated' in module.__dict__ and module.deprecated:
if ignoreDeprecation: