portage/eclass_cache.py: Remove deprecated parameter
authorSebastian Luther <SebastianLuther@gmx.de>
Wed, 11 Aug 2010 07:01:28 +0000 (09:01 +0200)
committerZac Medico <zmedico@gentoo.org>
Wed, 11 Aug 2010 07:47:23 +0000 (00:47 -0700)
pym/portage/eclass_cache.py

index 226e002722537b890800c3511cd4efe53988dd8a..878df4ef5f3d3f8babb998e3267f5944a8b84e7c 100644 (file)
@@ -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