Merge "Replace dict(obj.iteritems()) with dict(obj)"
This commit is contained in:
commit
f56662c8ea
@ -5629,7 +5629,7 @@ def instance_fault_get_by_instance_uuids(context, instance_uuids):
|
||||
output[instance_uuid] = []
|
||||
|
||||
for row in rows:
|
||||
data = dict(row.iteritems())
|
||||
data = dict(row)
|
||||
output[row['instance_uuid']].append(data)
|
||||
|
||||
return output
|
||||
|
Loading…
Reference in New Issue
Block a user