From d6d0b25cab759be32fc7d1ac32a4bbb4e40a2398 Mon Sep 17 00:00:00 2001 From: Dmitry Shulyak Date: Fri, 25 Sep 2015 11:13:17 +0300 Subject: [PATCH] Fix interfaces in add_dep and add_react --- solar/solar/events/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/solar/solar/events/api.py b/solar/solar/events/api.py index 684f60b1..bb13189c 100644 --- a/solar/solar/events/api.py +++ b/solar/solar/events/api.py @@ -53,7 +53,7 @@ def add_event(ev): def add_dep(parent, dep, actions, state='success'): for act in actions: d = Dep(parent, act, state=state, - depend_node=dep, depend_action=act) + child=dep, child_action=act) add_event(d) log.debug('Added event: %s', d) @@ -61,7 +61,7 @@ def add_dep(parent, dep, actions, state='success'): def add_react(parent, dep, actions, state='success'): for act in actions: r = React(parent, act, state=state, - depend_node=dep, depend_action=act) + child=dep, child_action=act) add_event(r) log.debug('Added event: %s', r)