* [gentoo-commits] portage r12414 - main/trunk/pym/portage
@ 2009-01-10 10:43 Zac Medico (zmedico)
0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2009-01-10 10:43 UTC (permalink / raw
To: gentoo-commits
Author: zmedico
Date: 2009-01-10 10:43:36 +0000 (Sat, 10 Jan 2009)
New Revision: 12414
Modified:
main/trunk/pym/portage/__init__.py
Log:
Inside config._getKeywords(), ignore -* in KEYWORDS, to prevent it from
causing preceeding values to be discarded.
Modified: main/trunk/pym/portage/__init__.py
===================================================================
--- main/trunk/pym/portage/__init__.py 2009-01-10 10:14:17 UTC (rev 12413)
+++ main/trunk/pym/portage/__init__.py 2009-01-10 10:43:36 UTC (rev 12414)
@@ -2254,7 +2254,7 @@
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)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-01-10 10:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-10 10:43 [gentoo-commits] portage r12414 - main/trunk/pym/portage Zac Medico (zmedico)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox