event_log: Fix order of parameters to Add method call

Change-Id: I5add20eadfde39806ef4b2cc819da0ae0bfec2f5
This commit is contained in:
David Pursehouse 2017-12-14 13:38:58 +09:00
parent 02c0ee6ae6
commit 685320b000

View File

@ -101,7 +101,7 @@ class EventLog(object):
Returns:
A dictionary of the event added to the log.
"""
event = self.Add(project.relpath, success, start, finish, task_name)
event = self.Add(project.relpath, task_name, start, finish, success)
if event is not None:
event['project'] = project.name
if project.revisionExpr: