diff options
author | Takashi Kajinami <tkajinam@redhat.com> | 2022-05-17 17:22:01 +0900 |
---|---|---|
committer | Takashi Kajinami <tkajinam@redhat.com> | 2022-05-18 22:31:01 +0900 |
commit | 69125bfd07398245480e783415352a2ed0c5ee92 (patch) | |
tree | 0c783c5e14ecb6dbf9aeb2960df3e06f3dc1c7c6 /barbicanclient/v1/orders.py | |
parent | c6ce0af02863439e5a4834fede07fb4bf855e631 (diff) | |
download | python-barbicanclient-69125bfd07398245480e783415352a2ed0c5ee92.tar.gz |
Remove six
Python 2 is no longer supported, so we no longer need the six library.
This change removes usage of the library as well as reference to it
(and Python 2) from the documentation.
Change-Id: I6328b11dcad54f70f64ecff53eb60708e34351cf
Diffstat (limited to 'barbicanclient/v1/orders.py')
-rw-r--r-- | barbicanclient/v1/orders.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/barbicanclient/v1/orders.py b/barbicanclient/v1/orders.py index aee762a..6b352c9 100644 --- a/barbicanclient/v1/orders.py +++ b/barbicanclient/v1/orders.py @@ -17,7 +17,6 @@ import functools import logging from oslo_utils.timeutils import parse_isotime -import six from barbicanclient import base from barbicanclient import formatter @@ -113,8 +112,7 @@ class CertificateOrderFormatter(formatter.EntityFormatter): return data -@six.add_metaclass(abc.ABCMeta) -class Order(object): +class Order(object, metaclass=abc.ABCMeta): """Base order object to hold common functionality This should be considered an abstract class that should not be |