From 2ddb6569851973b0143835548fe5885af7abfb64 Mon Sep 17 00:00:00 2001 From: Renat Akhmerov Date: Fri, 26 Jan 2018 12:22:31 +0700 Subject: [PATCH] Remove addition of a new task execution to task_executions collection Change-Id: Ifddfdd3facc8df8b960eaf0b716354e8220511a6 Closes-Bug: #1745548 --- mistral/engine/tasks.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/mistral/engine/tasks.py b/mistral/engine/tasks.py index 1ae99d656..146c7bb67 100644 --- a/mistral/engine/tasks.py +++ b/mistral/engine/tasks.py @@ -290,10 +290,6 @@ class Task(object): self.task_ex = db_api.create_task_execution(values) - # Add to collection explicitly so that it's in a proper - # state within the current session. - self.wf_ex.task_executions.append(self.task_ex) - self.created = True def _get_action_defaults(self):