summaryrefslogtreecommitdiffstats
path: root/pym/portage/dbapi/porttree.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/portage/dbapi/porttree.py')
-rw-r--r--pym/portage/dbapi/porttree.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/pym/portage/dbapi/porttree.py b/pym/portage/dbapi/porttree.py
index 10baa4b9c..4cc07362a 100644
--- a/pym/portage/dbapi/porttree.py
+++ b/pym/portage/dbapi/porttree.py
@@ -949,7 +949,7 @@ class portdbapi(dbapi):
#this stuff only runs on first call of xmatch()
#create mydep, mykey from origdep
mydep = dep_expand(origdep, mydb=self, settings=self.mysettings)
- mykey = dep_getkey(mydep)
+ mykey = mydep.cp
if level == "list-visible":
#a list of all visible packages, not called directly (just by xmatch())
@@ -1133,7 +1133,6 @@ def close_portdbapi_caches():
for i in portdbapi.portdbapi_instances:
i.close_caches()
-
class portagetree(object):
def __init__(self, root="/", virtual=None, clone=None, settings=None):
"""