Giacomo Travaglini has submitted this change. ( https://gem5-review.googlesource.com/c/public/gem5/+/30239 )

Change subject: ext: Remove dead code from handlers.py
......................................................................

ext: Remove dead code from handlers.py

This has been tested with vulture:
https://pypi.org/project/vulture

JIRA: https://gem5.atlassian.net/projects/GEM5/issues/GEM5-533

Change-Id: If878ea1900e2bcd76646b9860f2cc3f808bc5082
Signed-off-by: Giacomo Travaglini <giacomo.travagl...@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/30239
Maintainer: Bobby R. Bruce <bbr...@ucdavis.edu>
Tested-by: kokoro <noreply+kok...@google.com>
Reviewed-by: Hoa Nguyen <hoangu...@ucdavis.edu>
---
M ext/testlib/handlers.py
1 file changed, 1 insertion(+), 7 deletions(-)

Approvals:
  Hoa Nguyen: Looks good to me, approved
  Bobby R. Bruce: Looks good to me, approved
  kokoro: Regressions pass



diff --git a/ext/testlib/handlers.py b/ext/testlib/handlers.py
index 38f50c4..723a855 100644
--- a/ext/testlib/handlers.py
+++ b/ext/testlib/handlers.py
@@ -44,11 +44,10 @@
 import testlib.log as log
 import testlib.result as result
 import testlib.state as state
-import testlib.test_util as test
 import testlib.terminal as terminal

 from six.moves import queue as Queue
-from testlib.configuration import config, constants
+from testlib.configuration import constants


 class _TestStreamManager(object):
@@ -194,8 +193,6 @@
             state.Result.Passed: color.Green,
             state.Result.Skipped: color.Cyan,
     }
-    sep_fmtkey = 'separator'
-    sep_fmtstr = '{%s}' % sep_fmtkey

     def __init__(self):
         self.mapping = {
@@ -333,9 +330,6 @@
     def close(self):
         pass

-    def set_verbosity(self, verbosity):
-        self.verbosity = verbosity
-
 class MultiprocessingHandlerWrapper(object):
     '''
     A handler class which forwards log records to subhandlers, enabling

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/30239
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: If878ea1900e2bcd76646b9860f2cc3f808bc5082
Gerrit-Change-Number: 30239
Gerrit-PatchSet: 4
Gerrit-Owner: Giacomo Travaglini <giacomo.travagl...@arm.com>
Gerrit-Reviewer: Bobby R. Bruce <bbr...@ucdavis.edu>
Gerrit-Reviewer: Giacomo Travaglini <giacomo.travagl...@arm.com>
Gerrit-Reviewer: Hoa Nguyen <hoangu...@ucdavis.edu>
Gerrit-Reviewer: kokoro <noreply+kok...@google.com>
Gerrit-MessageType: merged
_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to