1
0
forked from VimPlug/jedi

used_names -> get_used_names().

This commit is contained in:
Dave Halter
2017-04-12 08:56:11 +02:00
parent b0ac07228b
commit a0b65b52c6
13 changed files with 13 additions and 16 deletions

View File

@@ -167,10 +167,8 @@ def _check_module(module_context):
return sys_path
try:
possible_names = module_context.tree_node.used_names['path']
possible_names = module_context.tree_node.get_used_names()['path']
except KeyError:
# module.used_names is MergedNamesDict whose getitem never throws
# keyerror, this is superfluous.
pass
else:
for name, power in get_sys_path_powers(possible_names):