Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 217905
Collapse All | Expand All

(-)pym/portage.py (-3 / +4 lines)
Lines 7438-7444 Link Here
7438
7438
7439
	def getfetchlist(self, mypkg, useflags=None, mysettings=None, all=0, mytree=None):
7439
	def getfetchlist(self, mypkg, useflags=None, mysettings=None, all=0, mytree=None):
7440
		if mysettings is None:
7440
		if mysettings is None:
7441
			mysettings = self.mysettings
7441
			mysettings = self.doebuild_settings
7442
		try:
7442
		try:
7443
			eapi, myuris = self.aux_get(mypkg,
7443
			eapi, myuris = self.aux_get(mypkg,
7444
				["EAPI", "SRC_URI"], mytree=mytree)
7444
				["EAPI", "SRC_URI"], mytree=mytree)
Lines 7455-7462 Link Here
7455
				"getfetchlist(): '%s' has unsupported EAPI: '%s'" % \
7455
				"getfetchlist(): '%s' has unsupported EAPI: '%s'" % \
7456
				(mypkg, eapi.lstrip("-")))
7456
				(mypkg, eapi.lstrip("-")))
7457
7457
7458
		if useflags is None:
7458
		if not all and useflags is None:
7459
			useflags = mysettings["USE"].split()
7459
			mysettings.setcpv(mypkg, mydb=self)
7460
			useflags = mysettings["PORTAGE_USE"].split()
7460
7461
7461
		myurilist = portage_dep.paren_reduce(myuris)
7462
		myurilist = portage_dep.paren_reduce(myuris)
7462
		myurilist = portage_dep.use_reduce(myurilist,uselist=useflags,matchall=all)
7463
		myurilist = portage_dep.use_reduce(myurilist,uselist=useflags,matchall=all)

Return to bug 217905