projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
257d239
)
Fix ACCEPT_KEYWORDS validation so that ** is valid. (trunk r7647)
author
Zac Medico
<zmedico@gentoo.org>
Sun, 19 Aug 2007 16:52:16 +0000
(16:52 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 19 Aug 2007 16:52:16 +0000
(16:52 -0000)
svn path=/main/branches/2.1.2/; revision=7648
pym/portage.py
patch
|
blob
|
history
diff --git
a/pym/portage.py
b/pym/portage.py
index 4d4c6c84cdbfb17461275e5dd488be7e5604b066..c571c2ce2999ab858666473b598e1e94784993db 100644
(file)
--- a/
pym/portage.py
+++ b/
pym/portage.py
@@
-1595,7
+1595,9
@@
class config:
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)