Move get_node() to tree_node and replace all the custom classdefs/funcdefs.

This commit is contained in:
Dave Halter committed 2017-01-05 23:43:12 +01:00
1 parent b44f0aae5d
commit ae8e43d3c7
24 files changed
+90 -99

No files matched your search

+1 -1
View File
@@ -167,7 +167,7 @@ def _check_module(module_context):
return sys_path
try:
possible_names = module_context.get_node().used_names['path']
possible_names = module_context.tree_node.used_names['path']
except KeyError:
# module.used_names is MergedNamesDict whose getitem never throws
# keyerror, this is superfluous.