Skip to content

Commit

Permalink
[#2037] Fix logger call to allow warning on tests
Browse files Browse the repository at this point in the history
  • Loading branch information
amercader committed Nov 12, 2014
1 parent 73e3c84 commit d730fc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/logic/action/get.py
Expand Up @@ -1027,7 +1027,7 @@ def resource_show(context, data_dict):
if resource_dict['id'] == id:
break
else:
logging.error('Could not find resource ' + id)
log.error('Could not find resource ' + id)
raise NotFound(_('Resource was not found.'))

resource_dict['package_id'] = pkg_dict['id']
Expand Down

0 comments on commit d730fc9

Please sign in to comment.