Do config.reset() prior to the depend phase to make sure that doebuild chooses the...
authorZac Medico <zmedico@gentoo.org>
Sat, 8 Jul 2006 00:33:55 +0000 (00:33 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 8 Jul 2006 00:33:55 +0000 (00:33 -0000)
svn path=/main/trunk/; revision=3813

pym/portage.py

index 7428162fccc5de669d16cecbf72c2214f0b78b2f..92094569dffd4bc3c0ab4c00800a76a23f029136 100644 (file)
@@ -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: