[ckan-changes] [okfn/ckan] 9be3a0: [xs] minor toolkit fix

GitHub noreply at github.com
Mon Apr 23 13:53:20 UTC 2012


  Branch: refs/heads/master
  Home:   https://github.com/okfn/ckan
  Commit: 9be3a073badb2d80b42d20665a13e5824e94f1e2
      https://github.com/okfn/ckan/commit/9be3a073badb2d80b42d20665a13e5824e94f1e2
  Author: Toby <toby.junk at gmail.com>
  Date:   2012-04-23 (Mon, 23 Apr 2012)

  Changed paths:
    M ckan/plugins/toolkit.py

  Log Message:
  -----------
  [xs] minor toolkit fix


diff --git a/ckan/plugins/toolkit.py b/ckan/plugins/toolkit.py
index 7a00278..671449e 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


================================================================



More information about the ckan-changes mailing list