From 0922db9882fdb849393d45a83e8a82ee9c037bb3 Mon Sep 17 00:00:00 2001 From: Jason Stubbs Date: Thu, 29 Sep 2005 16:33:44 +0000 Subject: Prevent globbed atoms from having relative operators. svn path=/main/branches/2.0/; revision=2052 --- pym/portage.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pym') diff --git a/pym/portage.py b/pym/portage.py index 737a8e3c5..53f194507 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -3067,6 +3067,8 @@ def isvalidatom(atom): mycpv_cps = catpkgsplit(dep_getcpv(atom)) operator = get_operator(atom) if operator: + if operator[0] in "<>" and atom[-1] == "*": + return 0 if mycpv_cps and mycpv_cps[0] != "null": # >=cat/pkg-1.0 return 1 -- cgit v1.2.3-1-g7c22