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:
Dan Smith
2015-02-16 17:10:04 -08:00
parent f74c2ebfd9
commit 933fe68b66

View File

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