equal
deleted
inserted
replaced
104 msg = self.session._("can't have multiple exits on the same state") |
104 msg = self.session._("can't have multiple exits on the same state") |
105 raise ValidationError(self.treid, {'subworkflow_exit': msg}) |
105 raise ValidationError(self.treid, {'subworkflow_exit': msg}) |
106 outputs.add(ep.subwf_state.eid) |
106 outputs.add(ep.subwf_state.eid) |
107 |
107 |
108 |
108 |
109 class _SubWorkflowExitOp(PreCommitOperation): |
109 class _SubWorkflowExitOp(hook.Operation): |
110 |
110 |
111 def precommit_event(self): |
111 def precommit_event(self): |
112 session = self.session |
112 session = self.session |
113 forentity = self.forentity |
113 forentity = self.forentity |
114 trinfo = self.trinfo |
114 trinfo = self.trinfo |