diff options
Diffstat (limited to 'taskflow/examples/share_engine_thread.py')
-rw-r--r-- | taskflow/examples/share_engine_thread.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/taskflow/examples/share_engine_thread.py b/taskflow/examples/share_engine_thread.py index 5223721..6372138 100644 --- a/taskflow/examples/share_engine_thread.py +++ b/taskflow/examples/share_engine_thread.py @@ -28,7 +28,6 @@ top_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), sys.path.insert(0, top_dir) import futurist -import six from taskflow import engines from taskflow.patterns import unordered_flow as uf @@ -73,7 +72,7 @@ with futurist.ThreadPoolExecutor() as ex: # and there is no more engine work to be done. for it in cloned_iters: try: - six.next(it) + next(it) except StopIteration: try: iters.remove(it) |