From 30cdb2a8fc98f2bc5cb09e4f9c35b90b026d6862 Mon Sep 17 00:00:00 2001 From: Ben Nemec Date: Tue, 4 Feb 2014 19:18:09 +0000 Subject: [PATCH] Add super call to db Base class Without this call, multiple inheritance involving the db Base class does not work correctly. Change-Id: Iac6b99d34f00babb8b66fede4977bf75f0ed61d4 --- nova/db/base.py | 1 + 1 file changed, 1 insertion(+) diff --git a/nova/db/base.py b/nova/db/base.py index 303f0ba76..c53fcc4b0 100644 --- a/nova/db/base.py +++ b/nova/db/base.py @@ -32,6 +32,7 @@ class Base(object): """DB driver is injected in the init method.""" def __init__(self, db_driver=None): + super(Base, self).__init__() if not db_driver: db_driver = CONF.db_driver self.db = importutils.import_module(db_driver) # pylint: disable=C0103