mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-22 12:58:36 +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:
parent
f477049181
commit
2c28d5b214
@ -388,6 +388,11 @@ class Executor(object):
|
|||||||
self.warning_logged = True
|
self.warning_logged = True
|
||||||
signal.disconnect(self._warning_signalled_callback, signal.WARNING_LOGGED)
|
signal.disconnect(self._warning_signalled_callback, signal.WARNING_LOGGED)
|
||||||
|
|
||||||
|
def __str__(self):
|
||||||
|
return 'executor'
|
||||||
|
|
||||||
|
__repr__ = __str__
|
||||||
|
|
||||||
|
|
||||||
class Runner(object):
|
class Runner(object):
|
||||||
"""
|
"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user