diff options
Diffstat (limited to 'pym/portage/dep.py')
-rw-r--r-- | pym/portage/dep.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pym/portage/dep.py b/pym/portage/dep.py index 47da7cedb..80b97c763 100644 --- a/pym/portage/dep.py +++ b/pym/portage/dep.py @@ -1056,7 +1056,9 @@ def match_from_list(mydep, candidate_list): for x in candidate_list: cp = getattr(x, "cp", None) if cp is None: - cp = dep_getkey(x) + mysplit = catpkgsplit(remove_slot(x)) + if mysplit is not None: + cp = mysplit[0] + '/' + mysplit[1] if cp != mycpv: continue mylist.append(x) |