Skip to content

Commit

Permalink
added TODO where I need to change the code.
Browse files Browse the repository at this point in the history
  • Loading branch information
AndresMWeber committed Mar 17, 2018
1 parent 96ee3dd commit 28f2483
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion anvil/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ def wrapper(abstract_grouping, *args, **kwargs):
print('regsitering node %s in hierarchy %s' % (node, result_id))
try:
hierarchy_entry = abstract_grouping.hierarchy[result_id]


# TODO: This breaks the Map hierarchy.
if issubclass(type(hierarchy_entry), dict) and issubclass(type(node), dict):
print('dictionary updating')
hierarchy_entry.update(node)
Expand Down

0 comments on commit 28f2483

Please sign in to comment.