From: Sebastian Luther Date: Wed, 11 Aug 2010 07:01:28 +0000 (+0200) Subject: portage/eclass_cache.py: Remove deprecated parameter X-Git-Tag: v2.2_rc68~308 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=893f5639abe515f1e6f2c2d69055d0de4151981d;p=portage.git portage/eclass_cache.py: Remove deprecated parameter --- 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