circular_dependency: use itertools.product()
authorZac Medico <zmedico@gentoo.org>
Sat, 9 Jul 2011 22:23:52 +0000 (15:23 -0700)
committerZac Medico <zmedico@gentoo.org>
Sat, 9 Jul 2011 22:23:52 +0000 (15:23 -0700)
commit50da885309a3a69f0927a730e19026734523b090
tree80c2d030943ce20af02adb5924efb5983a0c3009
parent3189ba035110795212c49db501a62b5007df4e18
circular_dependency: use itertools.product()

Python's cartesian product function does exactly what we want, so use
it to simplify our code.
pym/_emerge/resolver/circular_dependency.py