projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa32b9e
)
Fix ACCEPT_KEYWORDS validation so that ** is valid.
author
Zac Medico
<zmedico@gentoo.org>
Sun, 19 Aug 2007 16:48:50 +0000
(16:48 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 19 Aug 2007 16:48:50 +0000
(16:48 -0000)
svn path=/main/trunk/; revision=7647
pym/portage/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/__init__.py
b/pym/portage/__init__.py
index 3bb22ef3481642a4cb3c39a3d463764825d647d4..58cf5e4b12d1f0fb1740f285ab1bcc1e1f765720 100644
(file)
--- a/
pym/portage/__init__.py
+++ b/
pym/portage/__init__.py
@@
-1576,7
+1576,9
@@
class config(object):
writemsg("--- 'profiles/arch.list' is empty or not available. Empty portage tree?\n")
else:
for group in groups:
- if group not in archlist and group[0] != '-':
+ if group not in archlist and \
+ not (group.startswith("-") and group[1:] in archlist) and \
+ group != "**":
writemsg("!!! INVALID ACCEPT_KEYWORDS: %s\n" % str(group),
noiselevel=-1)