summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/dep.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/portage/dep.py b/pym/portage/dep.py
index efabee262..d0e487afc 100644
--- a/pym/portage/dep.py
+++ b/pym/portage/dep.py
@@ -885,8 +885,8 @@ def match_from_list(mydep, candidate_list):
candidate_list = mylist
mylist = []
for x in candidate_list:
- xslot = getattr(x, "slot", None)
- if xslot is None and isinstance(x, basestring):
+ xslot = getattr(x, "slot", False)
+ if xslot is False:
xslot = dep_getslot(x)
if xslot is not None and xslot != slot:
continue