From f14bcb9b6c79f7f071e32a7ef9bba5ce440096bd Mon Sep 17 00:00:00 2001 From: Vincent Vinet Date: Thu, 15 Oct 2009 14:23:57 +0000 Subject: Big commit! Everything to make Tutorial execution work through dbus. --- (limited to 'tutorius/linear_creator.py') diff --git a/tutorius/linear_creator.py b/tutorius/linear_creator.py index 91b11f4..78e94ce 100644 --- a/tutorius/linear_creator.py +++ b/tutorius/linear_creator.py @@ -58,9 +58,8 @@ class LinearCreator(object): # Set the next state name - there is no way the caller should have # to deal with that. next_state_name = "State %d" % (self.nb_state+1) - event_filter.set_next_state(next_state_name) state = State(self.state_name, action_list=self.current_actions, - event_filter_list=[event_filter]) + event_filter_list=[(event_filter, next_state_name),]) self.state_name = next_state_name self.nb_state += 1 -- cgit v0.9.1