Make abstract class compatible with Python 2 and 3
Change-Id: I71eb914588213c667842d86426170fffa3d5d818
This commit is contained in:
parent
743eaf78cc
commit
07cb2a0441
@ -13,8 +13,10 @@
|
||||
# limitations under the License.
|
||||
|
||||
import abc
|
||||
import six
|
||||
|
||||
|
||||
@six.add_metaclass(abc.ABCMeta)
|
||||
class BaseDriver(object):
|
||||
|
||||
def __init__(self, config):
|
||||
|
Loading…
x
Reference in New Issue
Block a user