[ckan-changes] [okfn/ckan] 33fcc1: [xs] NotFound -> ObjectNotFound in plugins.toolkit

GitHub noreply at github.com
Mon Apr 23 13:47:19 UTC 2012


  Branch: refs/heads/master
  Home:   https://github.com/okfn/ckan
  Commit: 33fcc1dff773fe355c39d11107727270ab41aacf
      https://github.com/okfn/ckan/commit/33fcc1dff773fe355c39d11107727270ab41aacf
  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] NotFound -> ObjectNotFound in plugins.toolkit


diff --git a/ckan/plugins/toolkit.py b/ckan/plugins/toolkit.py
index 3eb8983..7a00278 100644
--- a/ckan/plugins/toolkit.py
+++ b/ckan/plugins/toolkit.py
@@ -85,7 +85,7 @@ def _initialize(self):
 
         t['get_action'] = logic.get_action
         t['check_access'] = logic.check_access
-        t['ActionNotFound'] = logic.NotFound  ## Name change intentional
+        t['ObjectNotFound'] = logic.NotFound  ## Name change intentional
         t['NotAuthorized'] = logic.NotAuthorized
         t['ValidationError'] = logic.ValidationError
 


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



More information about the ckan-changes mailing list