Use .items() not .iteritems()
This commit is contained in:
parent
87752457a3
commit
c0afcfade5
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue