Skip to content

Commit

Permalink
[#1251] fix pep8 issues
Browse files Browse the repository at this point in the history
  • Loading branch information
kindly committed Mar 18, 2014
1 parent 5e3f1c3 commit 5c6608c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ckan/logic/action/create.py
Expand Up @@ -323,9 +323,9 @@ def resource_view_create(context, data_dict):
view_plugin = datapreview.get_view_plugin(view_type)
if not view_plugin:
raise ValidationError(
{"view_type":"No plugin found for view_type {view_type}".format(
view_type=view_type)
}
{"view_type": "No plugin found for view_type {view_type}".format(
view_type=view_type
)}
)
plugin_schema = view_plugin.info().get('schema', {})
schema.update(plugin_schema)
Expand Down

0 comments on commit 5c6608c

Please sign in to comment.