summaryrefslogtreecommitdiffstats
path: root/bin/egencache
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org>2011-12-09 06:51:26 +0100
committerArfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org>2011-12-09 06:51:26 +0100
commit611268630be4349727b3bf39a1249953f04e3b7f (patch)
tree194a7c272d0fd95ffdbe986d48578e8cfcb6552c /bin/egencache
parent12f18ab6ae8d732a39924536f585dc5ab7af8bbd (diff)
downloadportage-611268630be4349727b3bf39a1249953f04e3b7f.tar.gz
portage-611268630be4349727b3bf39a1249953f04e3b7f.tar.bz2
portage-611268630be4349727b3bf39a1249953f04e3b7f.zip
Delete portage.dbapi.porttree._repo_info class and _repo_info attribute of
portage.dbapi.porttree.portdbapi objects. Migrate consumers to repositories attribute of portage.dbapi.porttree.portdbapi objects.
Diffstat (limited to 'bin/egencache')
-rwxr-xr-xbin/egencache2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/egencache b/bin/egencache
index 3329a07ca..ba1f18873 100755
--- a/bin/egencache
+++ b/bin/egencache
@@ -203,7 +203,7 @@ class GenCache(object):
# findname, cp_list, and cpv_list to the desired tree.
tree = portdb.porttrees[0]
self._portdb = portdb
- self._eclass_db = portdb._repo_info[tree].eclass_db
+ self._eclass_db = portdb.repositories.get_repo_for_location(tree).eclass_db
self._auxdbkeys = portdb._known_keys
# We can globally cleanse stale cache only if we
# iterate over every single cp.