Skip to content

Commit

Permalink
Merge branch 'master' of github.com:AlexandreDecan/sismic
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandreDecan committed Jan 20, 2016
2 parents 8712e8a + 7cfe999 commit ac1c077
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sismic/interpreter.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def _select_transitions(self, event: model.Event=None) -> list:

# Retrieve the firable transitions for all active state
for transition in self._statechart.transitions:
if (transition.event == getattr(event, 'name', None) and transition.source in self._configuration and
if (transition.event == event.name and transition.source in self._configuration and
(transition.guard is None or self._evaluator.evaluate_guard(transition, event))):
transitions.add(transition)

Expand Down

0 comments on commit ac1c077

Please sign in to comment.