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:
Brian Haley
2020-01-06 14:17:55 -05:00
parent e0d4c98556
commit f6b957e8ee
70 changed files with 229 additions and 451 deletions

View File

@@ -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