diff options
Diffstat (limited to 'taskflow/listeners/base.py')
-rw-r--r-- | taskflow/listeners/base.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/taskflow/listeners/base.py b/taskflow/listeners/base.py index f5113a4..462a121 100644 --- a/taskflow/listeners/base.py +++ b/taskflow/listeners/base.py @@ -17,7 +17,6 @@ import abc from oslo_utils import excutils -import six from taskflow import logging from taskflow import states @@ -161,8 +160,7 @@ class Listener(object): self._engine, exc_info=True) -@six.add_metaclass(abc.ABCMeta) -class DumpingListener(Listener): +class DumpingListener(Listener, metaclass=abc.ABCMeta): """Abstract base class for dumping listeners. This provides a simple listener that can be attached to an engine which can |