projects
/
saartuer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
67cf854
)
update diargam for "open" in about-to-open
author
Ralf Jung
<post@ralfj.de>
Thu, 10 Oct 2013 16:24:35 +0000
(18:24 +0200)
committer
Ralf Jung
<post@ralfj.de>
Thu, 10 Oct 2013 16:24:35 +0000
(18:24 +0200)
statemachine.odg
patch
|
blob
|
history
statemachine.py
patch
|
blob
|
history
diff --git
a/statemachine.odg
b/statemachine.odg
index a26f172981038c82c3d50b010000de977e4ac51c..3201b4288b15c73cc4c24aee8d92f4bf9333b7e6 100644
(file)
Binary files a/statemachine.odg and b/statemachine.odg differ
diff --git
a/statemachine.py
b/statemachine.py
index dc00ca537f59d42f5e7f55f199e7663eaf32e691..a56d5f08041a40a9aa80cbc75e24a8c6ea251b39 100644
(file)
--- a/
statemachine.py
+++ b/
statemachine.py
@@
-132,7
+132,6
@@
class StateMachine():
class AbstractStateWhereOpeningIsRedundant(State):
def handle_open_event(self, callback):
# intentionally not calling super() implementation
class AbstractStateWhereOpeningIsRedundant(State):
def handle_open_event(self, callback):
# intentionally not calling super() implementation
- # FIXME contradicting original plan where open would be ignored in StateAboutToOpen?
callback("299 redundant: Space seems to be already open. Still processing your request tough.")
logger.warning("Received OPEN command in StateAboutToOpen. This should not be necessary.")
self.actor().act(Actor.CMD_OPEN)
callback("299 redundant: Space seems to be already open. Still processing your request tough.")
logger.warning("Received OPEN command in StateAboutToOpen. This should not be necessary.")
self.actor().act(Actor.CMD_OPEN)