From: Giacomo Travaglini Date: Thu, 11 Jun 2020 16:01:11 +0000 (+0100) Subject: ext: Remove dead code from configuration.py X-Git-Tag: v20.1.0.0~525 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=81858553b424ae6a939335b3995edf3b7c9fbed9;p=gem5.git ext: Remove dead code from configuration.py This has been tested with vulture: https://pypi.org/project/vulture JIRA: https://gem5.atlassian.net/projects/GEM5/issues/GEM5-533 Change-Id: Ibaf812ace94c2ae0e2115552a87fb506a427bb89 Signed-off-by: Giacomo Travaglini Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/30242 Tested-by: kokoro Reviewed-by: Jason Lowe-Power Maintainer: Jason Lowe-Power --- diff --git a/ext/testlib/configuration.py b/ext/testlib/configuration.py index b7c4697fb..cebb98f3a 100644 --- a/ext/testlib/configuration.py +++ b/ext/testlib/configuration.py @@ -84,7 +84,6 @@ import os import re from six import add_metaclass -from six.moves import configparser as ConfigParser from pickle import HIGHEST_PROTOCOL as highest_pickle_protocol from testlib.helper import absdirpath, AttrDict, FrozenAttrDict @@ -132,11 +131,6 @@ class _Config(object): self._run_post_processors() self._initialized = True - def _init_with_dicts(self, config, defaults): - self._config = config - self._defaults = defaults - self._initialized = True - def _add_post_processor(self, attr, post_processor): ''' :param attr: Attribute to pass to and recieve from the @@ -220,7 +214,6 @@ def define_defaults(defaults): os.pardir, os.pardir)) defaults.result_path = os.path.join(os.getcwd(), '.testing-results') - defaults.list_only_failed = False defaults.resource_url = 'http://dist.gem5.org/dist/develop' def define_constants(constants):