mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-10 12:59:22 +01:00
Fix typo.
This commit is contained in:
parent
3570acff72
commit
e787f3343e
@ -60,7 +60,7 @@ def loadPluginModule(name, ignoreDeprecation=False):
|
|||||||
module = imp.load_module(name, *moduleInfo)
|
module = imp.load_module(name, *moduleInfo)
|
||||||
except:
|
except:
|
||||||
sys.modules.pop(name, None)
|
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
|
raise
|
||||||
if 'deprecated' in module.__dict__ and module.deprecated:
|
if 'deprecated' in module.__dict__ and module.deprecated:
|
||||||
if ignoreDeprecation:
|
if ignoreDeprecation:
|
||||||
|
Loading…
Reference in New Issue
Block a user