Merge "Use six.add_metaclass instead of __metaclass__"

This commit is contained in:
Jenkins 2016-12-22 16:16:51 +00:00 committed by Gerrit Code Review
commit 489724e80e
1 changed files with 2 additions and 1 deletions

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