From 064a235876a0ad6bc34dbb72226064756652c131 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 5 Mar 2011 16:41:00 -0800 Subject: [PATCH] eclass_cache: remove deprecated methods --- pym/portage/eclass_cache.py | 17 ++--------------- 1 file 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 = {} -- 2.26.2