Skip to content
Browse files
Merge pull request #6101 from letmaik/patch-1
Fix tracking of imported modules (and plugin reloading)
  • Loading branch information
m-kuhn committed May 7, 2018
2 parents 3264b0b + 19592dc commit cb008699df84a7b16db0d102b470b9114ce6c3ac
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/
@@ -664,7 +664,7 @@ def _import(name, globals={}, locals={}, fromlist=[], level=None):
mod = _builtin_import(name, globals, locals, fromlist, level)

if mod and '__file__' in mod.__dict__:
module_name = mod.__name__
module_name = mod.__name__ if fromlist else name
package_name = module_name.split('.')[0]
# check whether the module belongs to one of our plugins
if package_name in available_plugins:

0 comments on commit cb00869

Please sign in to comment.