Skip to content

Commit

Permalink
Fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
progval committed May 10, 2013
1 parent 3570acf commit e787f33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugin.py
Expand Up @@ -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:
Expand Down

0 comments on commit e787f33

Please sign in to comment.