eclass_cache: remove deprecated methods
authorZac Medico <zmedico@gentoo.org>
Sun, 6 Mar 2011 00:41:00 +0000 (16:41 -0800)
committerZac Medico <zmedico@gentoo.org>
Mon, 14 Mar 2011 16:21:57 +0000 (09:21 -0700)
pym/portage/eclass_cache.py

index 878df4ef5f3d3f8babb998e3267f5944a8b84e7c..1374f1d9be05c3f60eceda65bdca7e4d2cb7eb2e 100644 (file)
@@ -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 = {}