Commit 6f7f60f4 authored by bliss administrator's avatar bliss administrator
Browse files

plugins/utils.py: bug fix in _parse_dict, parent node was updated instead of current node

parent 871d0366
......@@ -37,7 +37,7 @@ def _checkref(config,item_cfg_node,referenced_objects,name,value):
def _parse_dict(config,item_cfg_node,referenced_objects,
subdict):
for name,node in subdict.iteritems():
if _checkref(config,item_cfg_node,referenced_objects,
if _checkref(config,subdict,referenced_objects,
name,node):
continue
elif isinstance(node,dict):
......@@ -92,3 +92,4 @@ def replace_reference_by_object(config,item_cfg_node,ref_objects = None):
if subref:
referenced_objects[name] = subref
item_cfg_node.update(subdict)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment