From d730fc919c953eb28dc5c5e89209a7ead1d0001b Mon Sep 17 00:00:00 2001 From: amercader Date: Wed, 12 Nov 2014 10:51:53 +0000 Subject: [PATCH] [#2037] Fix logger call to allow warning on tests --- ckan/logic/action/get.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ckan/logic/action/get.py b/ckan/logic/action/get.py index d1ea5d081aa..155566c79fd 100644 --- a/ckan/logic/action/get.py +++ b/ckan/logic/action/get.py @@ -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']