From d0956624fa0bac61a2573c0de150b51ef9668702 Mon Sep 17 00:00:00 2001 From: Sudipta Biswas Date: Thu, 20 Aug 2015 16:57:46 +0530 Subject: [PATCH] cleanup NovaObjectDictCompat from hv_spec cleanup subclassing on NovaObjectDictCompat in nova/objects/hv_spec.py Due to the exhaustive nature of changes, the cleanup is done one object at a time. There shall be more patches to follow for other objects. Related to blueprint liberty-objects Change-Id: I74160f2edd99c32a897640ea69a78b18adddc6a1 --- nova/objects/hv_spec.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nova/objects/hv_spec.py b/nova/objects/hv_spec.py index f252b887b50c..9e2a28b66817 100644 --- a/nova/objects/hv_spec.py +++ b/nova/objects/hv_spec.py @@ -19,10 +19,8 @@ from nova.objects import fields from nova import utils -# TODO(berrange): Remove NovaObjectDictCompat @base.NovaObjectRegistry.register -class HVSpec(base.NovaObject, - base.NovaObjectDictCompat): +class HVSpec(base.NovaObject): # Version 1.0: Initial version # Version 1.1: Added 'vz' hypervisor VERSION = '1.1'