From: Ralf Jung Date: Thu, 10 Oct 2013 16:24:35 +0000 (+0200) Subject: update diargam for "open" in about-to-open X-Git-Url: https://git.ralfj.de/saartuer.git/commitdiff_plain/b71ae402aadc7e448757c8136f4ed9f34e7c233b?hp=--cc update diargam for "open" in about-to-open --- b71ae402aadc7e448757c8136f4ed9f34e7c233b diff --git a/statemachine.odg b/statemachine.odg index a26f172..3201b42 100644 Binary files a/statemachine.odg and b/statemachine.odg differ diff --git a/statemachine.py b/statemachine.py index dc00ca5..a56d5f0 100644 --- 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 - # 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)