Commits

Gustavo Picon  committed 43d73ee

default empty value for info in get_annotated_list for clarity

  • Participants
  • Parent commits 33f2438

Comments (0)

Files changed (1)

File treebeard/models.py

             will be annotated.
         """
 
-        result = []
+        result, info = [], {}
         start_depth, prev_depth = (None, None)
 
         for node in cls.get_tree(parent):