diff options
author | Sebastian Luther <SebastianLuther@gmx.de> | 2010-08-11 09:13:39 +0200 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-08-11 00:51:27 -0700 |
commit | fc5259d75e8ce2aedf03fb38554a7275990d05c0 (patch) | |
tree | c1f8243b79ff48ad2e1c30601c1c337a2da57716 | |
parent | 67dac3379abbf1def73c7b4484da43b851595e45 (diff) | |
download | portage-fc5259d75e8ce2aedf03fb38554a7275990d05c0.tar.gz portage-fc5259d75e8ce2aedf03fb38554a7275990d05c0.tar.bz2 portage-fc5259d75e8ce2aedf03fb38554a7275990d05c0.zip |
portage/dbapi/bintree.py: Remove deprecated parameter
-rw-r--r-- | pym/portage/dbapi/bintree.py | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/pym/portage/dbapi/bintree.py b/pym/portage/dbapi/bintree.py index 7dd179ce9..130e30d7d 100644 --- a/pym/portage/dbapi/bintree.py +++ b/pym/portage/dbapi/bintree.py @@ -35,7 +35,6 @@ import errno import re import stat import sys -import warnings from itertools import chain if sys.hexversion >= 0x3000000: @@ -274,21 +273,6 @@ class binarytree(object): chain(*self._pkgindex_translated_keys) )) - def _get_remotepkgs(self): - warnings.warn("Use binarytree._remotepkgs insead of binarytree.remotepkgs", - DeprecationWarning) - return self.__remotepkgs - - def _set_remotepkgs(self, remotepkgs): - warnings.warn("Use binarytree._remotepkgs insead of binarytree.remotepkgs", - DeprecationWarning) - self.__remotepkgs = remotepkgs - - def _del_remotepkgs(self): - warnings.warn("Use binarytree._remotepkgs insead of binarytree.remotepkgs", - DeprecationWarning) - del self.__remotepkgs - remotepkgs = property(_get_remotepkgs, _set_remotepkgs, _del_remotepkgs, "Deprecated self.remotepkgs, only for backward compatibility") @@ -504,15 +488,9 @@ class binarytree(object): _movefile(src_path, dest_path, mysettings=self.settings) self._pkg_paths[cpv] = mypath - def populate(self, getbinpkgs=0, getbinpkgsonly=None): + def populate(self, getbinpkgs=0): "populates the binarytree" - if getbinpkgsonly is not None: - warnings.warn( - "portage.dbapi.bintree.binarytree.populate(): " + \ - "getbinpkgsonly parameter is deprecated", - DeprecationWarning, stacklevel=2) - if self._populating: return from portage.locks import lockfile, unlockfile |