diff options
| author | Jenkins <jenkins@review.openstack.org> | 2014-12-18 23:42:35 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2014-12-18 23:42:35 +0000 |
| commit | ba62a9c7be999f49d89af6c5e0636f6f89bbdd13 (patch) | |
| tree | 41d1f83e32607a40c20a7a7ddb30b10a2ce64141 /taskflow/examples | |
| parent | 0cf641b0c294b5d653f4377248d6b3df358f104b (diff) | |
| parent | 4e514f41e57983e728db9025126df6f791a2594a (diff) | |
| download | taskflow-ba62a9c7be999f49d89af6c5e0636f6f89bbdd13.tar.gz | |
Merge "Move over to using oslo.utils [reflection, uuidutils]"0.6.0
Diffstat (limited to 'taskflow/examples')
| -rw-r--r-- | taskflow/examples/create_parallel_volume.py | 3 | ||||
| -rw-r--r-- | taskflow/examples/fake_billing.py | 2 | ||||
| -rw-r--r-- | taskflow/examples/resume_vm_boot.py | 3 |
3 files changed, 5 insertions, 3 deletions
diff --git a/taskflow/examples/create_parallel_volume.py b/taskflow/examples/create_parallel_volume.py index 5185330..0416a25 100644 --- a/taskflow/examples/create_parallel_volume.py +++ b/taskflow/examples/create_parallel_volume.py @@ -28,11 +28,12 @@ top_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir)) sys.path.insert(0, top_dir) +from oslo.utils import reflection + from taskflow import engines from taskflow.listeners import printing from taskflow.patterns import unordered_flow as uf from taskflow import task -from taskflow.utils import reflection # INTRO: This examples shows how unordered_flow can be used to create a large # number of fake volumes in parallel (or serially, depending on a constant that diff --git a/taskflow/examples/fake_billing.py b/taskflow/examples/fake_billing.py index 22c75cd..0fbe81f 100644 --- a/taskflow/examples/fake_billing.py +++ b/taskflow/examples/fake_billing.py @@ -27,10 +27,10 @@ top_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir)) sys.path.insert(0, top_dir) +from oslo.utils import uuidutils from taskflow import engines from taskflow.listeners import printing -from taskflow.openstack.common import uuidutils from taskflow.patterns import graph_flow as gf from taskflow.patterns import linear_flow as lf from taskflow import task diff --git a/taskflow/examples/resume_vm_boot.py b/taskflow/examples/resume_vm_boot.py index 514f333..f400d0d 100644 --- a/taskflow/examples/resume_vm_boot.py +++ b/taskflow/examples/resume_vm_boot.py @@ -31,9 +31,10 @@ top_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), sys.path.insert(0, top_dir) sys.path.insert(0, self_dir) +from oslo.utils import uuidutils + from taskflow import engines from taskflow import exceptions as exc -from taskflow.openstack.common import uuidutils from taskflow.patterns import graph_flow as gf from taskflow.patterns import linear_flow as lf from taskflow import task |
