You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ariatosca.apache.org by mx...@apache.org on 2016/12/07 16:59:11 UTC

incubator-ariatosca git commit: tmp fix

Repository: incubator-ariatosca
Updated Branches:
  refs/heads/ARIA-30-SQL-based-storage-implementation 2fa5b7bfe -> 24e06d68a


tmp fix


Project: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/commit/24e06d68
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/tree/24e06d68
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/diff/24e06d68

Branch: refs/heads/ARIA-30-SQL-based-storage-implementation
Commit: 24e06d68a28f0ba3fe7a30f50318e893cf8f8342
Parents: 2fa5b7b
Author: mxmrlv <mx...@gmail.com>
Authored: Wed Dec 7 18:59:02 2016 +0200
Committer: mxmrlv <mx...@gmail.com>
Committed: Wed Dec 7 18:59:02 2016 +0200

----------------------------------------------------------------------
 aria/orchestrator/workflows/core/engine.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/blob/24e06d68/aria/orchestrator/workflows/core/engine.py
----------------------------------------------------------------------
diff --git a/aria/orchestrator/workflows/core/engine.py b/aria/orchestrator/workflows/core/engine.py
index 35aa976..9d67bfb 100644
--- a/aria/orchestrator/workflows/core/engine.py
+++ b/aria/orchestrator/workflows/core/engine.py
@@ -63,7 +63,10 @@ class Engine(logger.LoggerMixin):
                     break
                 else:
                     time.sleep(0.1)
-                    self.refresh_tasks()
+                    try:
+                        self.refresh_tasks()
+                    finally:
+                        pass
             if cancel:
                 events.on_cancelled_workflow_signal.send(self._workflow_context)
             else: