mirror of https://github.com/zcash/developers.git
Fix a bug that occurs only when there are no tickets outside milestones
in a view. Signed-off-by: Daira Emma Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
dfb7c73487
commit
705c51e20e
|
@ -342,7 +342,8 @@ def main():
|
|||
milestones = {n.milestone: [] for n in dg}
|
||||
for m in milestones:
|
||||
milestones[m] = [n for n in dg if n.milestone == m]
|
||||
del milestones[None]
|
||||
if None in milestones:
|
||||
del milestones[None]
|
||||
for (milestone, nodes) in milestones.items():
|
||||
ag.add_subgraph(nodes, 'cluster_%d' % clusters, label=milestone, color='blue')
|
||||
clusters += 1
|
||||
|
|
Loading…
Reference in New Issue