From: Zac Medico Date: Sun, 6 Mar 2011 00:41:00 +0000 (-0800) Subject: eclass_cache: remove deprecated methods X-Git-Tag: v2.2.0_alpha27~12 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=064a235876a0ad6bc34dbb72226064756652c131;p=portage.git eclass_cache: remove deprecated methods --- 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 = {}