projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6df92dc
)
Add square brackets, [ and ] to the _invalid_atom_chars_regexp that's
author
Zac Medico
<zmedico@gentoo.org>
Sun, 25 May 2008 01:54:42 +0000
(
01:54
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 25 May 2008 01:54:42 +0000
(
01:54
-0000)
used by isvalidatom() since we don't wan't atoms with USE deps slipping
through here.
svn path=/main/branches/2.1.2/; revision=10397
pym/portage_dep.py
patch
|
blob
|
history
diff --git
a/pym/portage_dep.py
b/pym/portage_dep.py
index 3def9412e2745c9bc554cb458ad01ff886df83a2..4fe95d9b309b0ae3169876e60b4a9432ade5b32f 100644
(file)
--- a/
pym/portage_dep.py
+++ b/
pym/portage_dep.py
@@
-369,7
+369,7
@@
def remove_slot(mydep):
mydep = mydep[:colon]
return mydep
-_invalid_atom_chars_regexp = re.compile("[()|?@]")
+_invalid_atom_chars_regexp = re.compile("[()|?@
\[\]
]")
def isvalidatom(atom, allow_blockers=False):
"""