projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db227fd
)
Add a config.pkeywordsdict property for backward compatibility.
author
Zac Medico
<zmedico@gentoo.org>
Tue, 14 Sep 2010 09:14:48 +0000
(
02:14
-0700)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 14 Sep 2010 09:14:48 +0000
(
02:14
-0700)
pym/portage/package/ebuild/config.py
patch
|
blob
|
history
diff --git
a/pym/portage/package/ebuild/config.py
b/pym/portage/package/ebuild/config.py
index f92dd86fb0bfc11bc16359a34e25d3257d6697b6..16fb02f7b3542ac5d43ad292ddf3cccdf1312027 100644
(file)
--- a/
pym/portage/package/ebuild/config.py
+++ b/
pym/portage/package/ebuild/config.py
@@
-803,6
+803,13
@@
class config(object):
writemsg("!!! %s\n" % str(e),
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()