summaryrefslogtreecommitdiff
path: root/taskflow/engines/action_engine/process_executor.py
diff options
context:
space:
mode:
authorxhzhf <guoyongxhzhf@163.com>2016-12-18 08:30:51 +0800
committerxhzhf <guoyongxhzhf@163.com>2017-03-07 09:29:26 +0000
commit4e0125e4e52e67af0bf1bd84244fb6cb80e09abf (patch)
tree93b97131e5aa8a6bda34fff793b9e2c2cad67f74 /taskflow/engines/action_engine/process_executor.py
parent96228d861633ab5d33add270e556a6f2e01aee40 (diff)
downloadtaskflow-4e0125e4e52e67af0bf1bd84244fb6cb80e09abf.tar.gz
python3.0 has deprecated LOG.warn
python3.0 has deprecated LOG.warn https://docs.python.org/3/library/logging.html#logging.warning Closes-Bug: #1650843 Change-Id: Ib8473cbdb84547f385e619fe08ed723b1ee7bcdb
Diffstat (limited to 'taskflow/engines/action_engine/process_executor.py')
-rw-r--r--taskflow/engines/action_engine/process_executor.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/taskflow/engines/action_engine/process_executor.py b/taskflow/engines/action_engine/process_executor.py
index e59852f..85d37e0 100644
--- a/taskflow/engines/action_engine/process_executor.py
+++ b/taskflow/engines/action_engine/process_executor.py
@@ -504,16 +504,16 @@ class DispatcherHandler(asyncore.dispatcher):
try:
self.reader.feed(data)
except (IOError, UnknownSender):
- LOG.warn("Invalid received message", exc_info=True)
+ LOG.warning("Invalid received message", exc_info=True)
self.handle_close()
except _DECODE_ENCODE_ERRORS:
- LOG.warn("Badly formatted message", exc_info=True)
+ LOG.warning("Badly formatted message", exc_info=True)
self.handle_close()
except (ValueError, su.ValidationError):
- LOG.warn("Failed validating message", exc_info=True)
+ LOG.warning("Failed validating message", exc_info=True)
self.handle_close()
except ChallengeIgnored:
- LOG.warn("Failed challenge sequence", exc_info=True)
+ LOG.warning("Failed challenge sequence", exc_info=True)
self.handle_close()