Fix py34 for iteritems() use in base.py
Remove this iteritems() use so py34 will work when this code gets run. Change-Id: I32aaf5a90965ba14a84910e1cc1b9d9e6aa00229
This commit is contained in:
@@ -188,7 +188,7 @@ def remotable(fn):
|
||||
if VersionedObject.indirection_api:
|
||||
updates, result = VersionedObject.indirection_api.object_action(
|
||||
ctxt, self, fn.__name__, args, kwargs)
|
||||
for key, value in updates.iteritems():
|
||||
for key, value in six.iteritems(updates):
|
||||
if key in self.fields:
|
||||
field = self.fields[key]
|
||||
# NOTE(ndipanov): Since VersionedObjectSerializer will have
|
||||
|
||||
Reference in New Issue
Block a user