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
This commit is contained in:
Sudipta Biswas 2015-08-20 16:40:56 +05:30
parent bc4903f89b
commit 6dad8c021b
1 changed files with 1 additions and 3 deletions

View File

@ -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()