Merge "Use six.add_metaclass instead of __metaclass__"
This commit is contained in:
commit
489724e80e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user