Fix nested _parent_ evalutation for issue1697
check_load was not passed to the parent EvalEnvironment instance (transplanted from 4bf73d057f064bdbd05fcccd96ee03424fd223a3)
This commit is contained in:
1 parent
2423671767
commit
e6a5a47ae1
1 file changed
+1
-1
@@ -19,7 +19,7 @@ class EvalEnvironment(object):
|
||||
|
||||
def __getattr__(self, item):
|
||||
if item == '_parent_' + self.parent.parent_name and self.parent.parent:
|
||||
return EvalEnvironment(self.parent.parent)
|
||||
return EvalEnvironment(self.parent.parent, self.check_load)
|
||||
return self.parent.get_eval(check_load=self.check_load)[item]
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user