##// END OF EJS Templates
remove unnecessary loop to import manualy modules in `completer lib`
Diego Garcia -
Show More
@@ -159,9 +159,6 b' def try_import(mod, only_modules=False):'
159 159 m = import_module(mod)
160 160 except:
161 161 return []
162 mods = mod.split('.')
163 for module in mods[1:]:
164 m = getattr(m, module)
165 162
166 163 m_is_init = hasattr(m, '__file__') and '__init__' in m.__file__
167 164
General Comments 0
You need to be logged in to leave comments. Login now