view.py
branchtls-sprint
changeset 757 01740274e774
parent 719 2a610efe21ce
child 781 323656dd85a9
--- 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"""