comparison python/unroll_deps.py @ 152:8d04ad79ef79

another test
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 12 Jul 2011 20:17:10 -0700
parents f89c3615b414
children 17310d15ad26
comparison
equal deleted inserted replaced
151:f89c3615b414 152:8d04ad79ef79
39 deps = {'packageA': set(['packageB', 'packageC', 'packageF']), 39 deps = {'packageA': set(['packageB', 'packageC', 'packageF']),
40 'packageB': set(['packageC', 'packageD', 'packageE', 'packageG']), 40 'packageB': set(['packageC', 'packageD', 'packageE', 'packageG']),
41 'packageC': set(['packageE']), 41 'packageC': set(['packageE']),
42 'packageE': set(['packageF', 'packageG']), 42 'packageE': set(['packageF', 'packageG']),
43 'packageF': set(['packageG']), 43 'packageF': set(['packageG']),
44 'packageX': set()} 44 'packageX': set(['packageA', 'packageG'])}
45 unrolled = unroll_dependencies(deps) 45 unrolled = unroll_dependencies(deps)
46 print unrolled 46 print unrolled