From: Zac Medico Date: Sat, 8 Jul 2006 00:33:55 +0000 (-0000) Subject: Do config.reset() prior to the depend phase to make sure that doebuild chooses the... X-Git-Tag: v2.1.1~266 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=00185e8024c1c3b130c7f31d3ca9ae4168a61ce1;p=portage.git Do config.reset() prior to the depend phase to make sure that doebuild chooses the correct category. This fixes a problem similar to bug #137105. svn path=/main/trunk/; revision=3813 --- diff --git a/pym/portage.py b/pym/portage.py index 7428162fc..92094569d 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -5054,6 +5054,7 @@ class portdbapi(dbapi): writemsg("Uncaught handled exception: %(exception)s\n" % {"exception":str(e)}) raise + self.doebuild_settings.reset() myret = doebuild(myebuild, "depend", "/", self.doebuild_settings, dbkey=mydbkey, tree="porttree", mydbapi=self) if myret: