From 00185e8024c1c3b130c7f31d3ca9ae4168a61ce1 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 8 Jul 2006 00:33:55 +0000 Subject: [PATCH] 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 --- pym/portage.py | 1 + 1 file changed, 1 insertion(+) 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: -- 2.26.2