diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-02-19 09:19:17 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-02-19 09:19:17 +0000 |
commit | 3410931856ac66756df378a8889d91c28bedf8d7 (patch) | |
tree | 3fc27ced4df5b2e4b5271a12caada79d260c8e46 | |
parent | bee9124ad1a2d7bf099f60907669d6a75798a545 (diff) | |
download | portage-3410931856ac66756df378a8889d91c28bedf8d7.tar.gz portage-3410931856ac66756df378a8889d91c28bedf8d7.tar.bz2 portage-3410931856ac66756df378a8889d91c28bedf8d7.zip |
Remove deprecated portdbapi.getfetchlist() method.
svn path=/main/trunk/; revision=15377
-rw-r--r-- | pym/portage/dbapi/porttree.py | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/pym/portage/dbapi/porttree.py b/pym/portage/dbapi/porttree.py index 6012cd414..830cef4a5 100644 --- a/pym/portage/dbapi/porttree.py +++ b/pym/portage/dbapi/porttree.py @@ -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) |