projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e1ab70
)
Inside config._getKeywords(), ignore -* in KEYWORDS, to prevent it from
author
Zac Medico
<zmedico@gentoo.org>
Sat, 10 Jan 2009 10:43:36 +0000
(10:43 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sat, 10 Jan 2009 10:43:36 +0000
(10:43 -0000)
causing preceeding values to be discarded.
svn path=/main/trunk/; revision=12414
pym/portage/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/__init__.py
b/pym/portage/__init__.py
index f085188d1fe1021ecd141779f9ebc6fd892c1f8c..2b2609c7587950ed391f1601ac6dd895cda2b4ea 100644
(file)
--- a/
pym/portage/__init__.py
+++ b/
pym/portage/__init__.py
@@
-2254,7
+2254,7
@@
class config(object):
def _getKeywords(self, cpv, metadata):
cp = dep_getkey(cpv)
pkg = "%s:%s" % (cpv, metadata["SLOT"])
- keywords = [
metadata["KEYWORDS"].split()
]
+ keywords = [
[x for x in metadata["KEYWORDS"].split() if x != "-*"]
]
pos = len(keywords)
for i in xrange(len(self.profiles)):
cpdict = self._pkeywords_list[i].get(cp, None)