From: Jason Stubbs Date: Thu, 29 Sep 2005 16:33:44 +0000 (-0000) Subject: Prevent globbed atoms from having relative operators. X-Git-Tag: v2.0.53_rc4_2111~43 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0922db9882fdb849393d45a83e8a82ee9c037bb3;p=portage.git Prevent globbed atoms from having relative operators. svn path=/main/branches/2.0/; revision=2052 --- 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