From d953cc82e61a78459e3394cc88fddb916dc37a40 Mon Sep 17 00:00:00 2001 From: Renat Akhmerov Date: Thu, 10 Mar 2016 18:03:54 +0600 Subject: [PATCH] Deleting redundant trust creation in workbook uploading mechanism Change-Id: I9100a8415ad20b9f7572d73ba5a8f0a00a1e0143 Closes-Bug: #1555580 --- mistral/services/workbooks.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/mistral/services/workbooks.py b/mistral/services/workbooks.py index a69e942d..00379c82 100644 --- a/mistral/services/workbooks.py +++ b/mistral/services/workbooks.py @@ -16,7 +16,6 @@ from mistral.db.v2 import api as db_api_v2 from mistral.services import actions -from mistral.services import security from mistral.workbook import parser as spec_parser @@ -94,8 +93,6 @@ def _create_or_update_workflows(wb_db, workflows_spec): 'tags': wf_spec.get_tags() } - security.add_trust_id(values) - db_api_v2.create_or_update_workflow_definition(wf_name, values)