Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Hacksaar
Sphinx
Commits
56645e3c
Commit
56645e3c
authored
Apr 02, 2014
by
Ralf
Browse files
buzz twice to give users more time
parent
8fa0d3c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
statemachine.py
View file @
56645e3c
...
...
@@ -95,6 +95,8 @@ class StateMachine():
def
handle_pins_event
(
self
):
pass
# one needn't implement this
def
handle_buzz_event
(
self
,
arg
):
# this shouldn't be overwritten
# Buzz twice to give users more time to run ;-)
self
.
actor
().
act
(
Actor
.
CMD_BUZZ
)
self
.
actor
().
act
(
Actor
.
CMD_BUZZ
)
arg
(
"200 okay: buzz executed"
)
def
handle_cmd_unlock_event
(
self
,
arg
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment