summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-01-10 09:11:08 +0000
committerZac Medico <zmedico@gentoo.org>2009-01-10 09:11:08 +0000
commitccc2fe960fe439ddbec89f95173d4c322784425c (patch)
tree41d20c17ba4f97b5e5facfb185e1573b761316de
parentEnable package.keywords as-directory in profiles. (diff)
downloadportage-multirepo-ccc2fe960fe439ddbec89f95173d4c322784425c.tar.gz
portage-multirepo-ccc2fe960fe439ddbec89f95173d4c322784425c.tar.bz2
portage-multirepo-ccc2fe960fe439ddbec89f95173d4c322784425c.zip
Fix broken code inside config._getKeywords().
svn path=/main/trunk/; revision=12412
-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 4455888e..f085188d 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 = [metadata["KEYWORDS"].split()]
pos = len(keywords)
for i in xrange(len(self.profiles)):
cpdict = self._pkeywords_list[i].get(cp, None)