Commit d505156b authored by wenjie.zheng's avatar wenjie.zheng

Transition.py: fix transition guard getter which doesn't update guard.

parent 5cf24b8c
...@@ -88,7 +88,6 @@ class Transition(IdAsReferenceMixin("transition_", "prefix"), XMLObject): ...@@ -88,7 +88,6 @@ class Transition(IdAsReferenceMixin("transition_", "prefix"), XMLObject):
return res return res
def getGuard(self): def getGuard(self):
if self.guard is None:
self.generateGuard() self.generateGuard()
return self.guard return self.guard
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment