Skip to content

Commit

Permalink
[#1273] fix datastore test
Browse files Browse the repository at this point in the history
  • Loading branch information
kindly committed Nov 20, 2013
1 parent edb65c0 commit d4ff6a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ckan/logic/action/create.py
Expand Up @@ -269,6 +269,7 @@ def resource_create(context, data_dict):
context['defer_commit'] = True
context['use_cache'] = False
_get_action('package_update')(context, pkg_dict)
context.pop('defer_commit')
except ValidationError, e:
errors = e.error_dict['resources'][-1]
raise ValidationError(errors)
Expand Down

0 comments on commit d4ff6a8

Please sign in to comment.