Use .items() not .iteritems()

This commit is contained in:
Jessie Nadler 2017-06-02 17:03:16 -04:00
parent 87752457a3
commit c0afcfade5

View File

@ -489,7 +489,7 @@ class OutputMap(collections.Mapping):
def exports(self): def exports(self):
exports = [] exports = []
if self.outputs: 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'): if value.get('Export'):
exports.append(Export(self._stack_id, value['Export'].get('Name'), value.get('Value'))) exports.append(Export(self._stack_id, value['Export'].get('Name'), value.get('Value')))
return exports return exports