Use six.add_metaclass instead of __metaclass__
Trivialfix Change-Id: I12e94ee980fd63f68eb8de7dd6223eefb0c16557
This commit is contained in:
parent
f305b9c864
commit
d33168b59d
@ -11,10 +11,11 @@
|
|||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
import abc
|
import abc
|
||||||
|
import six
|
||||||
|
|
||||||
|
|
||||||
|
@six.add_metaclass(abc.ABCMeta)
|
||||||
class ValidatorBase(object):
|
class ValidatorBase(object):
|
||||||
__metaclass__ = abc.ABCMeta
|
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
@abc.abstractmethod
|
@abc.abstractmethod
|
||||||
|
Loading…
Reference in New Issue
Block a user