summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-04-16 18:02:28 +0000
committerZac Medico <zmedico@gentoo.org>2008-04-16 18:02:28 +0000
commit6b3d6b62702b772ad7e20dbae604f9a61da2218d (patch)
tree14eed51c90076a5b2c451da9354f1ee8f00d305e
parent513839d36b5e4d39949425107e583249cc3cd4e7 (diff)
downloadportage-6b3d6b62702b772ad7e20dbae604f9a61da2218d.tar.gz
portage-6b3d6b62702b772ad7e20dbae604f9a61da2218d.tar.bz2
portage-6b3d6b62702b772ad7e20dbae604f9a61da2218d.zip
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
-rw-r--r--pym/portage/dbapi/porttree.py2
1 files changed, 1 insertions, 1 deletions
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)