1
0
forked from VimPlug/jedi

Fix: the parent setting of deep_ast_copy worked the wrong way.

This commit is contained in:
Dave Halter
2016-01-07 18:52:06 +01:00
parent 06cb82830a
commit 379eb440cd
4 changed files with 12 additions and 15 deletions

View File

@@ -266,7 +266,7 @@ class Evaluator(object):
while parent is not None:
parent = parent.parent
predefined_if_name_dict = self.predefined_if_name_dict_dict.get(parent)
if predefined_if_name_dict:
if predefined_if_name_dict is not None:
return self._eval_element_not_cached(element)
return self._eval_element_cached(element)