egencache: ensure correct porttrees
authorZac Medico <zmedico@gentoo.org>
Sat, 29 Oct 2011 19:38:51 +0000 (12:38 -0700)
committerZac Medico <zmedico@gentoo.org>
Sat, 29 Oct 2011 19:38:51 +0000 (12:38 -0700)
commit0e3c7e33f3fe0ce593d6c40984db15f42fabd7f3
tree227db187ae7702a9b6afd1dd85cbe6002c8fe0d0
parentb07808edb1bc7b7adb36fd8d21ea430d1769d2a7
egencache: ensure correct porttrees

The GenCache class assumes that portdb.porttrees[0] is the desired
tree, so assert that it is true. The behavior should have already been
correct, since PORTDIR_OVERLAY was already set to an empty string when
necessary.
bin/egencache