summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-01-10 10:43:36 +0000
committerZac Medico <zmedico@gentoo.org>2009-01-10 10:43:36 +0000
commite25182005600e3e5d0591c1d3e2ccc232417419f (patch)
treebdc7825049fe57210d25f8c8515d725c39029657
parent4e1ab70684b925f4b5d4caab9670dca2b0ffd262 (diff)
downloadportage-e25182005600e3e5d0591c1d3e2ccc232417419f.tar.gz
portage-e25182005600e3e5d0591c1d3e2ccc232417419f.tar.bz2
portage-e25182005600e3e5d0591c1d3e2ccc232417419f.zip
Inside config._getKeywords(), ignore -* in KEYWORDS, to prevent it from
causing preceeding values to be discarded. svn path=/main/trunk/; revision=12414
-rw-r--r--pym/portage/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index f085188d1..2b2609c75 100644
--- 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)