From: Zac Medico Date: Fri, 26 Jun 2009 22:43:39 +0000 (-0000) Subject: Make portdbapi define self.settings, for conformity with other dbapi classes. X-Git-Tag: v2.2_rc34~140 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a41de90811b4af4dd9f5cd8217be26d42976060d;p=portage.git Make portdbapi define self.settings, for conformity with other dbapi classes. svn path=/main/trunk/; revision=13701 --- 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