Remove deprecated portdbapi.getfetchlist() method.
authorZac Medico <zmedico@gentoo.org>
Fri, 19 Feb 2010 09:19:17 +0000 (09:19 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 19 Feb 2010 09:19:17 +0000 (09:19 -0000)
svn path=/main/trunk/; revision=15377

pym/portage/dbapi/porttree.py

index 6012cd41411de6225ef578acbff2b98db5b54f9a..830cef4a5b3bbe82dccdf7c952a78a72b79d1f6d 100644 (file)
@@ -793,30 +793,6 @@ class portdbapi(dbapi):
 
                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)