--- a/incoming.py Sat Jul 02 12:26:56 2016 +0800+++ b/incoming.py Sat Jul 02 13:10:27 2016 +0800@@ -105,7 +105,7 @@ state = m.group(1) item['cls'] = 'task' - m = re.match('^job failed$', rest)+ m = re.match('^job failed', rest) if m is not None: success = False item['cls'] = 'failure'