1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-02-20 11:58:55 +00:00

fw/execution: implement __str__ for Executor

Implement __str__ for Executor in order to provide a more readable
representation in logs.
This commit is contained in:
Sergei Trofimov 2018-05-09 16:19:18 +01:00 committed by Marc Bonnici
parent f477049181
commit 2c28d5b214

View File

@ -388,6 +388,11 @@ class Executor(object):
self.warning_logged = True
signal.disconnect(self._warning_signalled_callback, signal.WARNING_LOGGED)
def __str__(self):
return 'executor'
__repr__ = __str__
class Runner(object):
"""