Remove DictCompat from CellMapping
DictCompat was on CellMapping because of bug 1474952, which was fixed in o.vo 0.6.0, so this is a pretty simple removal of the mixin. Change-Id: I051e17ad7a2b1c9517b85399233332bc2cf86952 Partially-Implements: bp rm-object-dict-compat
This commit is contained in:
parent
b1588cea68
commit
6f5f272d8d
|
@ -10,8 +10,6 @@
|
|||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
from oslo_versionedobjects import base as ovo
|
||||
|
||||
from nova.db.sqlalchemy import api as db_api
|
||||
from nova.db.sqlalchemy import api_models
|
||||
from nova import exception
|
||||
|
@ -19,10 +17,8 @@ from nova.objects import base
|
|||
from nova.objects import fields
|
||||
|
||||
|
||||
# NOTE(danms): Maintain Dict compatibility because of ovo bug 1474952
|
||||
@base.NovaObjectRegistry.register
|
||||
class CellMapping(base.NovaTimestampObject, base.NovaObject,
|
||||
ovo.VersionedObjectDictCompat):
|
||||
class CellMapping(base.NovaTimestampObject, base.NovaObject):
|
||||
# Version 1.0: Initial version
|
||||
VERSION = '1.0'
|
||||
|
||||
|
|
Loading…
Reference in New Issue