diff options
author | Joshua Harlow <harlowja@yahoo-inc.com> | 2015-02-06 17:14:06 -0800 |
---|---|---|
committer | Joshua Harlow <harlowja@yahoo-inc.com> | 2015-02-19 16:35:03 -0800 |
commit | c9c0505814a88ecea0c995aa4f0dd97883978559 (patch) | |
tree | 831f5fe0257c6ca9d9117fa9dc61777090aa2a24 /taskflow/conductors | |
parent | f874b396b7e32c22421e94c51c13002b65341e48 (diff) | |
download | taskflow-c9c0505814a88ecea0c995aa4f0dd97883978559.tar.gz |
Use debtcollector library to replace internal utility
The new debtcollector library was extracted from this
code and has now been released (and made available in
the requirements list) so we can go ahead and just use
it for most of the cases (minus the proxy moved class)
in our code-base to reduce the amount of custom code
we have to maintain to perform deprecation activities.
Change-Id: Ieeda6ffe282b67a1c1bb4f72e5858d22df0f30a0
Diffstat (limited to 'taskflow/conductors')
-rw-r--r-- | taskflow/conductors/single_threaded.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/taskflow/conductors/single_threaded.py b/taskflow/conductors/single_threaded.py index aa90645..c8ab5a0 100644 --- a/taskflow/conductors/single_threaded.py +++ b/taskflow/conductors/single_threaded.py @@ -14,6 +14,8 @@ # License for the specific language governing permissions and limitations # under the License. +from debtcollector import moves + from taskflow.conductors.backends import impl_blocking from taskflow.utils import deprecation @@ -23,6 +25,6 @@ deprecation.removed_module(__name__, version="0.8", removal_version="?") # TODO(harlowja): remove this proxy/legacy class soon... -SingleThreadedConductor = deprecation.moved_inheritable_class( +SingleThreadedConductor = moves.moved_class( impl_blocking.BlockingConductor, 'SingleThreadedConductor', __name__, version="0.8", removal_version="?") |