Skip to content

Commit

Permalink
[release-v1.6.1][#1506]: Revert hardcoding resource format to lowerca…
Browse files Browse the repository at this point in the history
…se, after discussion with rgrp and kindly.
  • Loading branch information
David Read committed Mar 16, 2012
1 parent 6eed1f4 commit 6696b9a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ckan/lib/dictization/model_dictize.py
Expand Up @@ -78,7 +78,6 @@ def extras_list_dictize(extras_list, context):

def resource_dictize(res, context):
resource = table_dictize(res, context)
resource['format'] = resource.get('format').lower() if resource.get('format') else ''
extras = resource.pop("extras", None)
if extras:
resource.update(extras)
Expand Down

0 comments on commit 6696b9a

Please sign in to comment.