diff options
-rw-r--r-- | pym/portage_dep.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/portage_dep.py b/pym/portage_dep.py index 4669682f2..32562e4ca 100644 --- a/pym/portage_dep.py +++ b/pym/portage_dep.py @@ -561,9 +561,10 @@ def match_from_list(mydep, candidate_list): mylist.append(x) elif operator in [">", ">=", "<", "<="]: + mysplit = ["%s/%s" % (cat, pkg), ver, rev] for x in candidate_list: try: - result = pkgcmp(pkgsplit(x), [cat + "/" + pkg, ver, rev]) + result = pkgcmp(pkgsplit(x), mysplit) except SystemExit: raise except: |