summaryrefslogtreecommitdiff
path: root/oslo_messaging/rpc/client.py
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.com>2020-05-11 10:17:47 +0200
committerAndreas Jaeger <aj@suse.com>2020-05-11 10:21:58 +0200
commite44c9883066d9b2d081a594b97aac3d598d491c9 (patch)
tree39bebef513683bc541c6e1206904ac1bcc8a5b8a /oslo_messaging/rpc/client.py
parentc1768401f7a47bd88c044687a00f2e139f1985b4 (diff)
downloadoslo-messaging-e44c9883066d9b2d081a594b97aac3d598d491c9.tar.gz
Remove six usage
Remove six, the python 2/3 compatibility library. It's not needed anymore since the repo is python3 only. Remove a now unneeded hacking test. Change-Id: I40522c4accb4aaf8115d11fee8b081e2d991cb4d
Diffstat (limited to 'oslo_messaging/rpc/client.py')
-rw-r--r--oslo_messaging/rpc/client.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/oslo_messaging/rpc/client.py b/oslo_messaging/rpc/client.py
index ea5f54e..115198b 100644
--- a/oslo_messaging/rpc/client.py
+++ b/oslo_messaging/rpc/client.py
@@ -19,7 +19,6 @@ import abc
import logging
from oslo_config import cfg
-import six
from oslo_messaging._drivers import base as driver_base
from oslo_messaging import _utils as utils
@@ -85,8 +84,7 @@ class ClientSendError(exceptions.MessagingException):
self.ex = ex
-@six.add_metaclass(abc.ABCMeta)
-class _BaseCallContext(object):
+class _BaseCallContext(object, metaclass=abc.ABCMeta):
_marker = object()