Remove all usage of six library
Convert all code to not require six library and instead use python 3.x logic. Created one helper method in common.utils for binary representation to limit code changes. Change-Id: I2716ce93691d11100ee951a3a3f491329a4073f0
This commit is contained in:
@@ -15,15 +15,12 @@
|
||||
|
||||
import abc
|
||||
|
||||
import six
|
||||
|
||||
# This class describes the abstraction of a distributor interface.
|
||||
# Distributor implementations may be: a noop, a single hardware device,
|
||||
# a single amphora, or multiple amphora among other options.
|
||||
|
||||
|
||||
@six.add_metaclass(abc.ABCMeta)
|
||||
class DistributorDriver(object):
|
||||
class DistributorDriver(object, metaclass=abc.ABCMeta):
|
||||
@abc.abstractmethod
|
||||
def get_create_distributor_subflow(self):
|
||||
"""Get a subflow to create a distributor
|
||||
|
||||
Reference in New Issue
Block a user