summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-09-14 02:14:48 -0700
committerZac Medico <zmedico@gentoo.org>2010-09-14 02:14:48 -0700
commitd5f7313c42195c176fd47eaf7ba8d6514903cd01 (patch)
tree0810d042012d1ec5085674f8a0a79dfe2161f45e
parentdb227fd4fdc0d3b10e7fc1a8cdb105a0bebfc886 (diff)
downloadportage-d5f7313c42195c176fd47eaf7ba8d6514903cd01.tar.gz
portage-d5f7313c42195c176fd47eaf7ba8d6514903cd01.tar.bz2
portage-d5f7313c42195c176fd47eaf7ba8d6514903cd01.zip
Add a config.pkeywordsdict property for backward compatibility.
-rw-r--r--pym/portage/package/ebuild/config.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/pym/portage/package/ebuild/config.py b/pym/portage/package/ebuild/config.py
index f92dd86fb..16fb02f7b 100644
--- a/pym/portage/package/ebuild/config.py
+++ b/pym/portage/package/ebuild/config.py
@@ -804,6 +804,13 @@ class config(object):
noiselevel=-1)
@property
+ def pkeywordsdict(self):
+ result = self._keywords_manager.pkeywordsdict.copy()
+ for k, v in result.items():
+ result[k] = v.copy()
+ return result
+
+ @property
def pmaskdict(self):
return self._mask_manager._pmaskdict.copy()