mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-18 20:11:20 +00:00
fw/output: implement __str__ JobOutput
Implement a __str__ method for JobOutput to make it easier to format it into messages.
This commit is contained in:
parent
050722ee8f
commit
5291e389dc
@ -133,7 +133,9 @@ class Output(object):
|
||||
return '<{} {}>'.format(self.__class__.__name__,
|
||||
os.path.basename(self.basepath))
|
||||
|
||||
__str__ = __repr__
|
||||
def __str__(self):
|
||||
return os.path.basename(self.basepath)
|
||||
|
||||
|
||||
|
||||
class RunOutput(Output):
|
||||
|
Loading…
x
Reference in New Issue
Block a user