projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8161d98
)
Prevent globbed atoms from having relative operators.
author
Jason Stubbs
<jstubbs@gentoo.org>
Thu, 29 Sep 2005 16:33:44 +0000
(16:33 -0000)
committer
Jason Stubbs
<jstubbs@gentoo.org>
Thu, 29 Sep 2005 16:33:44 +0000
(16:33 -0000)
svn path=/main/branches/2.0/; revision=2052
pym/portage.py
patch
|
blob
|
history
diff --git
a/pym/portage.py
b/pym/portage.py
index 737a8e3c5b7342de3e35f1d8c5da3f2f80a70914..53f194507b041d41d29214cd64db960074e5be1c 100644
(file)
--- 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