projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
134b22b
)
For bug #157734, fix repoman isvalidatom() checks. Thanks to Brian Harring for the...
author
Zac Medico
<zmedico@gentoo.org>
Sun, 10 Dec 2006 19:55:58 +0000
(19:55 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 10 Dec 2006 19:55:58 +0000
(19:55 -0000)
svn path=/main/trunk/; revision=5263
pym/portage_dep.py
patch
|
blob
|
history
diff --git
a/pym/portage_dep.py
b/pym/portage_dep.py
index a3186e8f1702b5b114cdc9c9ed78dff38cc9fd22..f284ae73a298abe1ffd0df4bddba08f1d08b7110 100644
(file)
--- a/
pym/portage_dep.py
+++ b/
pym/portage_dep.py
@@
-333,6
+333,8
@@
def isvalidatom(atom):
global _invalid_atom_chars_regexp
if _invalid_atom_chars_regexp.search(atom):
return 0
+ if atom.startswith("!"):
+ atom = atom[1:]
mycpv_cps = catpkgsplit(dep_getcpv(atom))
operator = get_operator(atom)
if operator: