objects: remove dict compat support from all XXXList() objects
The XXXList() classes only ever have a single 'objects' attribute and this is never directly accessed as a dict key, instead all callers use it in list context. Thus the dict compat support can be removed from all these objects Change-Id: I3f8d49d25b99dd0a498dfaad705c6332908cb72f
This commit is contained in:
@@ -89,9 +89,7 @@ class InstanceFault(base.NovaPersistentObject, base.NovaObject,
|
||||
LOG.exception(_LE("Failed to notify cells of instance fault"))
|
||||
|
||||
|
||||
# TODO(berrange): Remove NovaObjectDictCompat
|
||||
class InstanceFaultList(base.ObjectListBase, base.NovaObject,
|
||||
base.NovaObjectDictCompat):
|
||||
class InstanceFaultList(base.ObjectListBase, base.NovaObject):
|
||||
# Version 1.0: Initial version
|
||||
# InstanceFault <= version 1.1
|
||||
# Version 1.1: InstanceFault version 1.2
|
||||
|
||||
Reference in New Issue
Block a user