/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to branchview/linegraph.py

  • Committer: Andrew Bennetts
  • Date: 2008-04-29 08:17:01 UTC
  • mto: This revision was merged to the branch mainline in revision 476.
  • Revision ID: andrew@puzzling.org-20080429081701-2pu9uteic8o88nre
Simple hack to fix gannotate.

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
            graph_parents[revid] = parent_revids
58
58
        for parent in parent_revids:
59
59
            graph_children.setdefault(parent, []).append(revid)
60
 
        graph_children.setdefault(revid, [])
 
60
        graph_children[revid] = []
61
61
    for ghost in ghosts:
62
62
        for ghost_child in graph_children[ghost]:
63
63
            graph_parents[ghost_child] = [p for p in graph_parents[ghost_child]