summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/dbapi/porttree.py12
1 files changed, 5 insertions, 7 deletions
diff --git a/pym/portage/dbapi/porttree.py b/pym/portage/dbapi/porttree.py
index 4c02cbe30..394a57c81 100644
--- a/pym/portage/dbapi/porttree.py
+++ b/pym/portage/dbapi/porttree.py
@@ -813,13 +813,11 @@ class portdbapi(dbapi):
# match *all* packages, only against the cpv, in order
# to bypass unnecessary cache access for things like IUSE
# and SLOT.
-
- if myval is None:
- if mydep == mykey:
- myval = self.cp_list(mykey, mytree=mytree)
- else:
- myval = match_from_list(mydep,
- self.cp_list(mykey, mytree=mytree))
+ if mydep == mykey:
+ myval = self.cp_list(mykey, mytree=mytree)
+ else:
+ myval = match_from_list(mydep,
+ self.cp_list(mykey, mytree=mytree))
elif level == "list-visible":
#a list of all visible packages, not called directly (just by xmatch())