From a41de90811b4af4dd9f5cd8217be26d42976060d Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 26 Jun 2009 22:43:39 +0000 Subject: [PATCH] Make portdbapi define self.settings, for conformity with other dbapi classes. svn path=/main/trunk/; revision=13701 --- pym/portage/dbapi/porttree.py | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.26.2