From 6b3d6b62702b772ad7e20dbae604f9a61da2218d Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 16 Apr 2008 18:02:28 +0000 Subject: 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 --- pym/portage/dbapi/porttree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3-1-g7c22