Permalink
Browse files

fix bug from matthiaskrgr

  • Loading branch information...
1 parent d0f0065 commit f8329b2109a70a99242e559534336cdffb144db8 @keenerd committed Mar 4, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 pacgraph
View
@@ -1005,7 +1005,8 @@ def secondlevel_sizes(tree):
# this is slightly lazy and only handles the common case
# it ignores oddly shaped dep trees
tops = toplevel_packs(tree)
- seconds = set(tree[t].links for t in tops)
+ seconds = set()
+ [seconds.update(tree[t].links) for t in tops]
sec_info = []
for s in seconds:
aboves = tree[s].inverse & tops # lazy!

0 comments on commit f8329b2

Please sign in to comment.