From c0afcfade5cf3d578a598b279339f8cbc4c53c3d Mon Sep 17 00:00:00 2001 From: Jessie Nadler Date: Fri, 2 Jun 2017 17:03:16 -0400 Subject: [PATCH] Use .items() not .iteritems() --- moto/cloudformation/parsing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moto/cloudformation/parsing.py b/moto/cloudformation/parsing.py index 248ecc57a..2a00984e4 100644 --- a/moto/cloudformation/parsing.py +++ b/moto/cloudformation/parsing.py @@ -489,7 +489,7 @@ class OutputMap(collections.Mapping): def exports(self): exports = [] if self.outputs: - for key, value in self._output_json_map.iteritems(): + for key, value in self._output_json_map.items(): if value.get('Export'): exports.append(Export(self._stack_id, value['Export'].get('Name'), value.get('Value'))) return exports