summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-06-26 22:43:39 +0000
committerZac Medico <zmedico@gentoo.org>2009-06-26 22:43:39 +0000
commita41de90811b4af4dd9f5cd8217be26d42976060d (patch)
tree695993cdb5ba55268236dae2621edc4f1ee527e1
parentca3f3cf17994da8925195906ce7633352f5c79ff (diff)
downloadportage-a41de90811b4af4dd9f5cd8217be26d42976060d.tar.gz
portage-a41de90811b4af4dd9f5cd8217be26d42976060d.tar.bz2
portage-a41de90811b4af4dd9f5cd8217be26d42976060d.zip
Make portdbapi define self.settings, for conformity with other dbapi classes.
svn path=/main/trunk/; revision=13701
-rw-r--r--pym/portage/dbapi/porttree.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/portage/dbapi/porttree.py b/pym/portage/dbapi/porttree.py
index ff16a9441..e55db1487 100644
--- a/pym/portage/dbapi/porttree.py
+++ b/pym/portage/dbapi/porttree.py
@@ -119,6 +119,8 @@ class portdbapi(dbapi):
else:
from portage import settings
self.mysettings = config(clone=settings)
+ # Define self.settings, for conformity with other dbapi classes.
+ self.settings = self.mysettings
self._iuse_implicit = self.mysettings._get_implicit_iuse()
self._categories = self.mysettings.categories
# This is strictly for use in aux_get() doebuild calls when metadata