summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchenghuiyu <yuchenghui@unionpay.com>2017-09-04 14:06:56 +0800
committerchenghuiyu <yuchenghui@unionpay.com>2017-09-04 14:06:56 +0800
commit00b5d3f2455931ada04b32effcee40416f414ea6 (patch)
tree395f4380c339103f16dbf483b363c3e0234c404e
parentdaefa879e6d34643c428fa076c69cdeca30bd8dd (diff)
downloadtaskflow-00b5d3f2455931ada04b32effcee40416f414ea6.tar.gz
Remove method blather in log adapter
As method blather was using in new place, it was deprecated for removal in new release. Change-Id: Ic8d425e1774d6b7090ec105f2b37467a90c6e1e6 Closes-Bug: #1714873
-rw-r--r--taskflow/logging.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/taskflow/logging.py b/taskflow/logging.py
index 9682e2b..849c992 100644
--- a/taskflow/logging.py
+++ b/taskflow/logging.py
@@ -18,8 +18,6 @@ from __future__ import absolute_import
import logging
-from debtcollector import moves
-
_BASE = __name__.split(".", 1)[0]
# Add a BLATHER/TRACE level, this matches the multiprocessing
@@ -44,11 +42,6 @@ WARNING = logging.WARNING
class _TraceLoggerAdapter(logging.LoggerAdapter):
- @moves.moved_method("trace", version="1.26.0", removal_version="?")
- def blather(self, msg, *args, **kwargs):
- """Delegate a blather call to the underlying logger."""
- self.log(BLATHER, msg, *args, **kwargs)
-
def trace(self, msg, *args, **kwargs):
"""Delegate a trace call to the underlying logger."""
self.log(TRACE, msg, *args, **kwargs)