portdbapi: move repo loop to _iter_visible
authorZac Medico <zmedico@gentoo.org>
Sat, 24 Sep 2011 19:05:00 +0000 (12:05 -0700)
committerZac Medico <zmedico@gentoo.org>
Sat, 24 Sep 2011 19:05:00 +0000 (12:05 -0700)
commit5076fa35cdcba5a092f16c2004e90d4d84c01044
treebd9207b83b183234fc2efa91168695ab3a579ce8
parentf28353bdfb47855f14268edb6361f58577799136
portdbapi: move repo loop to _iter_visible

This allows use to avoid using a set to eliminate duplicates, since we
can break out of the repo loop as soon as a given cpv is found to be
visible.
pym/portage/dbapi/porttree.py