Skip to content

Commit

Permalink
fixup! Add Python 3 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Apr 4, 2016
1 parent 4206df9 commit ebb8647
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tilecloud_chain/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,8 @@ def _generate_openlayers(gene):
'maxExtent': layer['grid_ref']['bbox'],
'resolution': layer['resolution'] if
layer['type'] == 'mapnik' and layer['output_format'] == 'grid' else None,
} for name, layer in sorted(gene.layers.items()) if layer['grid_ref']['srs'] == gene.config['openlayers']['srs']
} for name, layer in sorted(gene.layers.items())
if layer['grid_ref']['srs'] == gene.config['openlayers']['srs']
],
sorted=sorted,
)
Expand Down

0 comments on commit ebb8647

Please sign in to comment.