From 893f5639abe515f1e6f2c2d69055d0de4151981d Mon Sep 17 00:00:00 2001 From: Sebastian Luther Date: Wed, 11 Aug 2010 09:01:28 +0200 Subject: [PATCH] portage/eclass_cache.py: Remove deprecated parameter --- pym/portage/eclass_cache.py | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/pym/portage/eclass_cache.py b/pym/portage/eclass_cache.py index 226e00272..878df4ef5 100644 --- a/pym/portage/eclass_cache.py +++ b/pym/portage/eclass_cache.py @@ -1,4 +1,4 @@ -# Copyright: 2005 Gentoo Foundation +# Copyright: 2005,2010 Gentoo Foundation # Author(s): Nicholas Carpaski (carpaski@gentoo.org), Brian Harring (ferringb@gentoo.org) # License: GPL2 @@ -6,7 +6,6 @@ __all__ = ["cache"] import stat import sys -import warnings from portage.util import normalize_path import errno from portage.exception import PermissionDenied @@ -129,14 +128,9 @@ class cache(object): return True - def get_eclass_data(self, inherits, from_master_only=False): + def get_eclass_data(self, inherits): ec_dict = {} for x in inherits: ec_dict[x] = self.eclasses[x] - if from_master_only is not False: - warnings.warn("portage.eclass_cache.cache.get_eclass_data(): " + \ - "ignoring deprecated 'from_master_only' parameter", - DeprecationWarning) - return ec_dict -- 2.26.2