Move toward python 3/2 compatible metaclass
Change-Id: Ia7e07a7530e26c388c5da3e362510233b6a65aa6
This commit is contained in:
@@ -19,14 +19,15 @@
|
||||
|
||||
import abc
|
||||
|
||||
import six
|
||||
|
||||
class JobBoard(object):
|
||||
|
||||
class JobBoard(six.with_metaclass(abc.ABCMeta)):
|
||||
"""A jobboard is an abstract representation of a place where jobs
|
||||
can be posted, reposted, claimed and transferred. There can be multiple
|
||||
implementations of this job board, depending on the desired semantics and
|
||||
capabilities of the underlying jobboard implementation.
|
||||
"""
|
||||
__metaclass__ = abc.ABCMeta
|
||||
|
||||
def __init__(self, name):
|
||||
self._name = name
|
||||
|
||||
Reference in New Issue
Block a user