Skip to content

Instantly share code, notes, and snippets.

@aaronr
Created May 17, 2012 23:22
Show Gist options
  • Save aaronr/2722230 to your computer and use it in GitHub Desktop.
Save aaronr/2722230 to your computer and use it in GitHub Desktop.
# Verify that the user has permission to view the layer.
if query_params.has_key('LAYERS'):
layers=query_params['LAYERS']
elif query_params.has_key('LAYER'):
layers=query_params['LAYER']
else:
raise ERMAException('Not Found', '404 Not Found')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment