1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-01-31 02:01:16 +00:00

fw/output: Ensure that Event message is converted to a string

Explicitly convert the passed message into a string as this is expected when
generating a event summary, otherwise splitting can fail.
This commit is contained in:
Marc Bonnici 2018-12-04 14:54:28 +00:00 committed by setrofim
parent d3d5ca9154
commit e0ffd84239

View File

@ -617,7 +617,7 @@ class Event(object):
def __init__(self, message): def __init__(self, message):
self.timestamp = datetime.utcnow() self.timestamp = datetime.utcnow()
self.message = message self.message = str(message)
def to_pod(self): def to_pod(self):
return dict( return dict(