equal
deleted
inserted
replaced
268 |
268 |
269 def potential_destinations(self): |
269 def potential_destinations(self): |
270 try: |
270 try: |
271 yield self.destination_state[0] |
271 yield self.destination_state[0] |
272 except IndexError: |
272 except IndexError: |
273 for state in self.reverse_allowed_transition: |
273 for incomingstate in self.reverse_allowed_transition: |
274 yield state |
274 for tr in incomingstate.reverse_destination_state: |
|
275 for previousstate in tr.reverse_allowed_transition: |
|
276 yield previousstate |
275 |
277 |
276 def parent(self): |
278 def parent(self): |
277 return self.workflow |
279 return self.workflow |
278 |
280 |
279 |
281 |