--- a/view.py Wed Feb 18 01:45:35 2009 +0100
+++ b/view.py Wed Feb 18 10:03:26 2009 +0100
@@ -323,7 +323,7 @@
# XXX deprecate
__registerer__ = accepts_registerer
__select__ = implements('Any')
- registered = accepts_compat(View.registered.im_func)
+ registered = accepts_compat(View.registered)
category = 'entityview'
@@ -334,7 +334,7 @@
"""
__registerer__ = priority_registerer
__select__ = none_rset()
- registered = require_group_compat(View.registered.im_func)
+ registered = require_group_compat(View.registered)
category = 'startupview'
@@ -421,7 +421,7 @@
__registry__ = 'templates'
__select__ = yes()
- registered = require_group_compat(View.registered.im_func)
+ registered = require_group_compat(View.registered)
def template(self, oid, **kwargs):
"""shortcut to self.registry.render method on the templates registry"""
--- a/web/action.py Wed Feb 18 01:45:35 2009 +0100
+++ b/web/action.py Wed Feb 18 10:03:26 2009 +0100
@@ -82,7 +82,7 @@
return selector(cls, req, rset, row, col, **kwargs)
__select__ = my_selector()
- registered = accepts_compat(Action.registered.im_func)
+ registered = accepts_compat(Action.registered)
category = 'addrelated'
--- a/web/controller.py Wed Feb 18 01:45:35 2009 +0100
+++ b/web/controller.py Wed Feb 18 10:03:26 2009 +0100
@@ -69,7 +69,7 @@
__registry__ = 'controllers'
__registerer__ = priority_registerer
__select__ = yes()
- registered = require_group_compat(AppObject.registered.im_func)
+ registered = require_group_compat(AppObject.registered)
def __init__(self, *args, **kwargs):
super(Controller, self).__init__(*args, **kwargs)