summaryrefslogtreecommitdiff
path: root/nova/objects/instance_fault.py
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2014-12-12 11:04:07 +0000
committerDaniel P. Berrange <berrange@redhat.com>2014-12-12 14:06:12 +0000
commite3b63f3b71eac944fd6c19e0b7efef428abe1472 (patch)
treede4ed3941a2bcf2dfc59be8d48d045a5b79e3667 /nova/objects/instance_fault.py
parentef264b11af1400bdf913ad1ff0c0807a7caebc5d (diff)
downloadnova-e3b63f3b71eac944fd6c19e0b7efef428abe1472.tar.gz
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
Diffstat (limited to 'nova/objects/instance_fault.py')
-rw-r--r--nova/objects/instance_fault.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/nova/objects/instance_fault.py b/nova/objects/instance_fault.py
index ad18681874..de03b972db 100644
--- a/nova/objects/instance_fault.py
+++ b/nova/objects/instance_fault.py
@@ -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