[FIX] onchange yaml

bzr revid: fp@tinyerp.com-20111114224224-5kvzufap638l7nx1
This commit is contained in:
Fabien Pinckaers
2011-11-14 23:42:24 +01:00
parent db8da808ff
commit 2235425822
+1 -1
View File
@@ -422,7 +422,7 @@ class YamlInterpreter(object):
ctx['parent'] = parent2(parent)
for a in fg:
if a not in ctx:
ctx[a]=process_val(a, False)
ctx[a]=process_val(a, defaults.get(a, False))
# Evaluation args
args = map(lambda x: eval(x, ctx), match.group(2).split(','))