##// END OF EJS Templates
Backport PR #4214: engine ID metadata should be unicode, not bytes...
MinRK -
Show More
@@ -358,7 +358,7 b' class TaskScheduler(SessionFactory):'
358 # build fake metadata
358 # build fake metadata
359 md = dict(
359 md = dict(
360 status=u'error',
360 status=u'error',
361 engine=engine,
361 engine=engine.decode('ascii'),
362 date=datetime.now(),
362 date=datetime.now(),
363 )
363 )
364 msg = self.session.msg('apply_reply', content, parent=parent, metadata=md)
364 msg = self.session.msg('apply_reply', content, parent=parent, metadata=md)
General Comments 0
You need to be logged in to leave comments. Login now