Use six.add_metaclass instead of __metaclass__

Trivialfix

Change-Id: I12e94ee980fd63f68eb8de7dd6223eefb0c16557
This commit is contained in:
Cao Xuan Hoang 2016-12-05 11:21:52 +07:00
parent f305b9c864
commit d33168b59d

View File

@ -11,10 +11,11 @@
# under the License.
import abc
import six
@six.add_metaclass(abc.ABCMeta)
class ValidatorBase(object):
__metaclass__ = abc.ABCMeta
@staticmethod
@abc.abstractmethod