Mercurial > hg > config
comparison python/unroll_deps.py @ 154:b86b070fbdd1
remove br0ken debugging code
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Tue, 12 Jul 2011 21:52:05 -0700 |
parents | 17310d15ad26 |
children | f7cfd58eafe6 |
comparison
equal
deleted
inserted
replaced
153:17310d15ad26 | 154:b86b070fbdd1 |
---|---|
27 order.insert(dep_index+1, package) | 27 order.insert(dep_index+1, package) |
28 order.pop(index) | 28 order.pop(index) |
29 index = dep_index | 29 index = dep_index |
30 except ValueError: | 30 except ValueError: |
31 order.insert(index, dep) | 31 order.insert(index, dep) |
32 except AssertionError: | |
33 print reverse_deps | |
34 raise | |
35 | 32 |
36 cycle_check(order, dependencies) | 33 cycle_check(order, dependencies) |
37 return order | 34 return order |
38 | 35 |
39 def unroll_dependencies2(dependencies): | 36 def unroll_dependencies2(dependencies): |