From 6dad8c021b075b583f2c3ce213b9d278db5583fd Mon Sep 17 00:00:00 2001 From: Sudipta Biswas Date: Thu, 20 Aug 2015 16:40:56 +0530 Subject: [PATCH] cleanup NovaObjectDictCompat from quota cleanup subclassing on NovaObjectDictCompat ih nova/objects/quota.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: I24f61c16f84b3fed18a8a0bbb5d8e52d22fba440 --- nova/objects/quotas.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nova/objects/quotas.py b/nova/objects/quotas.py index 2cc8534e9d..6cdb07917d 100644 --- a/nova/objects/quotas.py +++ b/nova/objects/quotas.py @@ -46,10 +46,8 @@ def ids_from_server_group(context, server_group): return ids_from_instance(context, server_group) -# TODO(berrange): Remove NovaObjectDictCompat @base.NovaObjectRegistry.register -class Quotas(base.NovaObject, - base.NovaObjectDictCompat): +class Quotas(base.NovaObject): # Version 1.0: initial version # Version 1.1: Added create_limit() and update_limit() # Version 1.2: Added limit_check() and count()