public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] portage r15377 - main/trunk/pym/portage/dbapi
@ 2010-02-19  9:19 Zac Medico (zmedico)
  0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2010-02-19  9:19 UTC (permalink / raw
  To: gentoo-commits

Author: zmedico
Date: 2010-02-19 09:19:17 +0000 (Fri, 19 Feb 2010)
New Revision: 15377

Modified:
   main/trunk/pym/portage/dbapi/porttree.py
Log:
Remove deprecated portdbapi.getfetchlist() method.


Modified: main/trunk/pym/portage/dbapi/porttree.py
===================================================================
--- main/trunk/pym/portage/dbapi/porttree.py	2010-02-19 09:15:12 UTC (rev 15376)
+++ main/trunk/pym/portage/dbapi/porttree.py	2010-02-19 09:19:17 UTC (rev 15377)
@@ -793,30 +793,6 @@
 
 		return uri_map
 
-	def getfetchlist(self, mypkg, useflags=None, mysettings=None,
-		all=0, mytree=None):
-
-		writemsg("!!! pordbapi.getfetchlist() is deprecated, " + \
-			"use getFetchMap() instead.\n", noiselevel=-1)
-
-		if all:
-			useflags = None
-		elif useflags is None:
-			if mysettings is None:
-				mysettings = self.doebuild_settings
-			mysettings.setcpv(mypkg, mydb=self)
-			useflags = mysettings["PORTAGE_USE"].split()
-		uri_map = self.getFetchMap(mypkg, useflags=useflags, mytree=mytree)
-
-		all_uris = []
-		all_files = []
-		for filename, uris in uri_map.items():
-			for uri in uris:
-				all_uris.append(uri)
-				all_files.append(filename)
-
-		return [all_uris, all_files]
-
 	def getfetchsizes(self, mypkg, useflags=None, debug=0):
 		# returns a filename:size dictionnary of remaining downloads
 		myebuild = self.findname(mypkg)




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-02-19  9:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-19  9:19 [gentoo-commits] portage r15377 - main/trunk/pym/portage/dbapi Zac Medico (zmedico)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox