Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/sugar/tutorius/core.py
diff options
context:
space:
mode:
authorSimon Poirier <simpoir@gmail.com>2009-05-18 20:27:41 (GMT)
committer Simon Poirier <simpoir@gmail.com>2009-06-01 04:50:00 (GMT)
commitf347ec202fe5b4404fa380694d7fe3d3d070ae7b (patch)
tree89f10094b90489fc43b8ec209b16d94ff2405147 /src/sugar/tutorius/core.py
parent6fa568daae3291c7a876cd903f04079a12945dcb (diff)
fixed major missing parts in bundler
integrated bundler to creator tutorial loading still is unusable (fiters don't seem to load)
Diffstat (limited to 'src/sugar/tutorius/core.py')
-rw-r--r--src/sugar/tutorius/core.py4
1 files changed, 2 insertions, 2 deletions
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