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

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

parent 5cf24b8c
......@@ -88,8 +88,7 @@ class Transition(IdAsReferenceMixin("transition_", "prefix"), XMLObject):
return res
def getGuard(self):
if self.guard is None:
self.generateGuard()
self.generateGuard()
return self.guard
def generateGuard(self):
......
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