portdbapi: tweak single-tree optimization
authorZac Medico <zmedico@gentoo.org>
Sat, 24 Sep 2011 20:14:59 +0000 (13:14 -0700)
committerZac Medico <zmedico@gentoo.org>
Sat, 24 Sep 2011 20:14:59 +0000 (13:14 -0700)
commit97d2dac2cb7ee7ad33a31786eed74e1c204576dd
treed1e2eb00a573c1d598a8a585b625898bedf0e967
parentd3ad44b102f44aecdc0dc6ef951e853a9dd8dbbe
portdbapi: tweak single-tree optimization

This optimizes aux_get and cp_list for cases where we only have a
single tree, which is common for repoman and ebuild(1).
pym/portage/dbapi/porttree.py