summaryrefslogtreecommitdiff
path: root/taskflow/engines
diff options
context:
space:
mode:
authorji-xuepeng <ji.xuepeng@zte.com.cn>2016-07-10 01:39:37 +0800
committerji-xuepeng <ji.xuepeng@zte.com.cn>2016-07-10 01:44:38 +0800
commit185830b556c8157cab50ffd1fd82df63d6ba9fb7 (patch)
treef2f189dd0d460a23843ba96f4bc69600d19718cc /taskflow/engines
parent8a3ca1073952d61918289465f50086c54244f1a3 (diff)
downloadtaskflow-185830b556c8157cab50ffd1fd82df63d6ba9fb7.tar.gz
remove unused LOG
This is to remove unused LOG to keep code clean. Change-Id: Ie44659f3b7af9612f127f7d46bb2c1481b6a634f
Diffstat (limited to 'taskflow/engines')
-rw-r--r--taskflow/engines/action_engine/actions/retry.py3
-rw-r--r--taskflow/engines/action_engine/executor.py3
2 files changed, 0 insertions, 6 deletions
diff --git a/taskflow/engines/action_engine/actions/retry.py b/taskflow/engines/action_engine/actions/retry.py
index 49dd94a..d7f69c8 100644
--- a/taskflow/engines/action_engine/actions/retry.py
+++ b/taskflow/engines/action_engine/actions/retry.py
@@ -15,13 +15,10 @@
# under the License.
from taskflow.engines.action_engine.actions import base
-from taskflow import logging
from taskflow import retry as retry_atom
from taskflow import states
from taskflow.types import failure
-LOG = logging.getLogger(__name__)
-
class RetryAction(base.Action):
"""An action that handles executing, state changes, ... of retry atoms."""
diff --git a/taskflow/engines/action_engine/executor.py b/taskflow/engines/action_engine/executor.py
index 9e5c6f9..5dbaf58 100644
--- a/taskflow/engines/action_engine/executor.py
+++ b/taskflow/engines/action_engine/executor.py
@@ -19,7 +19,6 @@ import abc
import futurist
import six
-from taskflow import logging
from taskflow import task as ta
from taskflow.types import failure
from taskflow.types import notifier
@@ -28,8 +27,6 @@ from taskflow.types import notifier
EXECUTED = 'executed'
REVERTED = 'reverted'
-LOG = logging.getLogger(__name__)
-
def _execute_retry(retry, arguments):
try: