From f347ec202fe5b4404fa380694d7fe3d3d070ae7b Mon Sep 17 00:00:00 2001 From: Simon Poirier Date: Mon, 18 May 2009 20:27:41 +0000 Subject: fixed major missing parts in bundler integrated bundler to creator tutorial loading still is unusable (fiters don't seem to load) --- (limited to 'src/sugar/tutorius/core.py') diff --git a/src/sugar/tutorius/core.py b/src/sugar/tutorius/core.py index 602947f..dd2435e 100644 --- a/src/sugar/tutorius/core.py +++ b/src/sugar/tutorius/core.py @@ -123,7 +123,7 @@ class State(object): with associated actions that point to a possible next state. """ - def __init__(self, name, action_list=None, event_filter_list=None, tutorial=None): + def __init__(self, name="", action_list=None, event_filter_list=None, tutorial=None): """ Initializes the content of the state, like loading the actions that are required and building the correct tests. @@ -525,4 +525,4 @@ class FiniteStateMachine(State): out_string = "" for st in self._states.itervalues(): out_string += st.name + ", " - return out_string \ No newline at end of file + return out_string -- cgit v0.9.1