removing explicit access to im_func, this is not necessary anymore tls-sprint
authorAdrien Di Mascio <Adrien.DiMascio@logilab.fr>
Tue, 17 Feb 2009 20:34:20 +0100
branchtls-sprint
changeset 687 c23315c11185
parent 686 6a1f4210ee4c
child 688 cddfbdee0eb3
removing explicit access to im_func, this is not necessary anymore
web/component.py
--- a/web/component.py	Tue Feb 17 20:32:01 2009 +0100
+++ b/web/component.py	Tue Feb 17 20:34:20 2009 +0100
@@ -32,7 +32,7 @@
     __registry__ = 'contentnavigation'
     __registerer__ = accepts_registerer    
     __selectors__ = (one_line_rset, primary_view, match_context_prop,)
-    registered = accepts_compat(has_relation_compat(condition_compat(View.registered.im_func)))
+    registered = accepts_compat(has_relation_compat(condition_compat(View.registered)))
     
     property_defs = {
         _('visible'):  dict(type='Boolean', default=True,