From: Zac Medico Date: Wed, 16 Apr 2008 18:02:28 +0000 (-0000) Subject: If the mysettings parameter is not passed in to portdbapi.getfetchlist() X-Git-Tag: v2.2_pre6~148 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6b3d6b62702b772ad7e20dbae604f9a61da2218d;p=portage.git If the mysettings parameter is not passed in to portdbapi.getfetchlist() then substitue self.doebuild_settings since that one is mutable which is necessary in case setcpv() needs to be called. svn path=/main/trunk/; revision=9916 --- diff --git a/pym/portage/dbapi/porttree.py b/pym/portage/dbapi/porttree.py index 20690e3ab..3ea73d00a 100644 --- a/pym/portage/dbapi/porttree.py +++ b/pym/portage/dbapi/porttree.py @@ -362,7 +362,7 @@ class portdbapi(dbapi): def getfetchlist(self, mypkg, useflags=None, mysettings=None, all=0, mytree=None): if mysettings is None: - mysettings = self.mysettings + mysettings = self.doebuild_settings try: eapi, myuris = self.aux_get(mypkg, ["EAPI", "SRC_URI"], mytree=mytree)