summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 3034d432f..f17bf054c 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -5149,7 +5149,7 @@ class portdbapi(dbapi):
def gvisible(self,mylist):
"strip out group-masked (not in current group) entries"
- global db
+
if mylist is None:
return []
newlist=[]
@@ -5160,7 +5160,7 @@ class portdbapi(dbapi):
auxerr=0
keys = None
try:
- keys, eapi = db["/"]["porttree"].dbapi.aux_get(mycpv, ["KEYWORDS", "EAPI"])
+ keys, eapi = self.aux_get(mycpv, ["KEYWORDS", "EAPI"])
except KeyError:
pass
except portage_exception.PortageException, e: