R deprecate CWRegistry.render
authorNicolas Chauvat <nicolas.chauvat@logilab.fr>
Thu, 13 Aug 2009 11:01:32 +0200
changeset 2814 112742b3bbe1
parent 2813 0cf6c8005bf6
child 2815 ced3daf78e24
R deprecate CWRegistry.render
cwvreg.py
--- a/cwvreg.py	Thu Aug 13 10:55:58 2009 +0200
+++ b/cwvreg.py	Thu Aug 13 11:01:32 2009 +0200
@@ -56,6 +56,7 @@
             for appobject in appobjects:
                 appobject.vreg_initialization_completed()
 
+    @deprecated('[3.5] select object, then use obj.render()')
     def render(self, __oid, req, __fallback_oid=None, rset=None, **kwargs):
         """select object, or fallback object if specified and the first one
         isn't selectable, then render it