From: Zac Medico Date: Tue, 14 Sep 2010 09:09:51 +0000 (-0700) Subject: In KeywordsManager.pkeywordsdict save values as tuples instead of lists. X-Git-Tag: v2.2_rc82~13 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=db227fd4fdc0d3b10e7fc1a8cdb105a0bebfc886;p=portage.git In KeywordsManager.pkeywordsdict save values as tuples instead of lists. --- diff --git a/pym/portage/package/ebuild/_config/KeywordsManager.py b/pym/portage/package/ebuild/_config/KeywordsManager.py index b9c223643..6df25fc1c 100644 --- a/pym/portage/package/ebuild/_config/KeywordsManager.py +++ b/pym/portage/package/ebuild/_config/KeywordsManager.py @@ -66,6 +66,8 @@ class KeywordsManager(object): # default to ~arch if no specific keyword is given if not v: v = accept_keywords_defaults + else: + v = tuple(v) self.pkeywordsdict.setdefault(k.cp, {})[k] = v def getKeywords(self, cpv, slot, keywords):