Skip to content

Commit

Permalink
Merge pull request #22 from dls-controls/method_items
Browse files Browse the repository at this point in the history
Replace iteritmes() with items()
  • Loading branch information
coretl committed Jun 3, 2016
2 parents 2c8e431 + 6d910ea commit fb1bfd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion malcolm/core/method.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def __call__(self, *args, **kwargs):
if return_val.keys() != self.returns.elements.keys():
raise ValueError(
"Return result did not match specified return structure")
for r_name, r_val in return_val.iteritems():
for r_name, r_val in return_val.items():
self.returns.elements[r_name].validate(r_val)
return return_val

Expand Down

0 comments on commit fb1bfd4

Please sign in to comment.