Add use-async_utils.patch

This commit is contained in:
Ivan Udovichenko
2015-09-29 12:04:10 +03:00
parent 8c59ddccfc
commit 74fe062594
3 changed files with 39 additions and 0 deletions

1
debian/changelog vendored
View File

@@ -4,6 +4,7 @@ python-taskflow (1.21.0-1) UNRELEASED; urgency=medium
* d/control: Fixed (build-)depends for this release.
* d/control: python-mysql is now replaced with python-pymysql.
* d/control: unittest2 is not used anymore.
* d/patches: Add use-async_utils.patch
-- Ivan Udovichenko <iudovichenko@mirantis.com> Tue, 29 Sep 2015 9:14:38 +0300

1
debian/patches/series vendored Normal file
View File

@@ -0,0 +1 @@
use-async_utils.patch

37
debian/patches/use-async_utils.patch vendored Normal file
View File

@@ -0,0 +1,37 @@
From ecfa9ea69f1bdec4b3e5287907e46e2d509f5e58 Mon Sep 17 00:00:00 2001
From: Ivan Udovichenko <iudovichenko@mirantis.com>
Date: Tue, 29 Sep 2015 12:01:24 +0300
Subject: [PATCH] Use async_utils
---
taskflow/engines/action_engine/runtime.py | 1 +
taskflow/tests/unit/worker_based/test_pipeline.py | 1 +
2 files changed, 2 insertions(+)
diff --git a/taskflow/engines/action_engine/runtime.py b/taskflow/engines/action_engine/runtime.py
index d97ba96..232a691 100644
--- a/taskflow/engines/action_engine/runtime.py
+++ b/taskflow/engines/action_engine/runtime.py
@@ -28,6 +28,7 @@ from taskflow.engines.action_engine import scopes as sc
from taskflow import flow
from taskflow import states as st
from taskflow import task
+from taskflow.utils import async_utils
from taskflow.utils import misc
diff --git a/taskflow/tests/unit/worker_based/test_pipeline.py b/taskflow/tests/unit/worker_based/test_pipeline.py
index 5674015..723bf6e 100644
--- a/taskflow/tests/unit/worker_based/test_pipeline.py
+++ b/taskflow/tests/unit/worker_based/test_pipeline.py
@@ -25,6 +25,7 @@ from taskflow.engines.worker_based import server as worker_server
from taskflow import test
from taskflow.tests import utils as test_utils
from taskflow.types import failure
+from taskflow.utils import async_utils
from taskflow.utils import threading_utils
--
2.1.4