From 9be3a073badb2d80b42d20665a13e5824e94f1e2 Mon Sep 17 00:00:00 2001 From: Toby Date: Mon, 23 Apr 2012 15:00:20 +0100 Subject: [PATCH] [xs] minor toolkit fix --- ckan/plugins/toolkit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ckan/plugins/toolkit.py b/ckan/plugins/toolkit.py index 7a00278e2f1..671449e5c86 100644 --- a/ckan/plugins/toolkit.py +++ b/ckan/plugins/toolkit.py @@ -40,7 +40,7 @@ class _Toolkit(object): 'literal', # stop tags in a string being escaped 'get_action', # get logic action function 'check_access', # check logic function authorisation - 'ActionNotFound', # action not found exception (ckan.logic.NotFound) + 'ObjectNotFound', # action not found exception (ckan.logic.NotFound) 'NotAuthorized', # action not authorized exception 'ValidationError', # model update validation error 'CkanCommand', # class for providing cli interfaces