event_log: Fix order of parameters to Add method call
Change-Id: I5add20eadfde39806ef4b2cc819da0ae0bfec2f5
diff --git a/event_log.py b/event_log.py
index d73511d..45a2c26 100644
--- a/event_log.py
+++ b/event_log.py
@@ -101,7 +101,7 @@
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: