diff options
author | Zac Medico <zmedico@gentoo.org> | 2011-03-05 16:41:00 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2011-03-05 16:41:00 -0800 |
commit | 064a235876a0ad6bc34dbb72226064756652c131 (patch) | |
tree | 59d9cb8ba4cf611f02a3f139611aab3bc6301b4f /pym/portage | |
parent | 233c2efb6d86d9ac603ba224b71c0b65a64118f7 (diff) | |
download | portage-064a235876a0ad6bc34dbb72226064756652c131.tar.gz portage-064a235876a0ad6bc34dbb72226064756652c131.tar.bz2 portage-064a235876a0ad6bc34dbb72226064756652c131.zip |
eclass_cache: remove deprecated methods
Diffstat (limited to 'pym/portage')
-rw-r--r-- | pym/portage/eclass_cache.py | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/pym/portage/eclass_cache.py b/pym/portage/eclass_cache.py index 878df4ef5..1374f1d9b 100644 --- a/pym/portage/eclass_cache.py +++ b/pym/portage/eclass_cache.py @@ -1,6 +1,6 @@ -# Copyright: 2005,2010 Gentoo Foundation +# Copyright 2005-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 # Author(s): Nicholas Carpaski (carpaski@gentoo.org), Brian Harring (ferringb@gentoo.org) -# License: GPL2 __all__ = ["cache"] @@ -61,19 +61,6 @@ class cache(object): self.eclasses.update(other.eclasses) self._eclass_locations.update(other._eclass_locations) - def close_caches(self): - import traceback - traceback.print_stack() - print("%s close_cache is deprecated" % self.__class__) - self.eclasses.clear() - - def flush_cache(self): - import traceback - traceback.print_stack() - print("%s flush_cache is deprecated" % self.__class__) - - self.update_eclasses() - def update_eclasses(self): self.eclasses = {} self._eclass_locations = {} |