Missing function call.
[cdist.git] / cdist
diff --git a/cdist b/cdist
index d63e68c2689b1a9e7d663dd57289a5117afd20a6..45a1573e5b0d9501f7b03e66431287340ec42cf4 100755 (executable)
--- a/cdist
+++ b/cdist
@@ -720,7 +720,7 @@ class Tree(object):
                 # we are building and any options specified by the parent.
 
                 if 'option_defaults' in dep.cscript:
-                    for k, v in dep.cscript['option_defaults'].items():
+                    for k, v in dep.cscript['option_defaults']().items():
                         to[k] = v
 
                 if len(d) > 2: