Merge "Replace dict(obj.iteritems()) with dict(obj)"

This commit is contained in:
Jenkins 2015-05-22 18:07:55 +00:00 committed by Gerrit Code Review
commit f56662c8ea

View File

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