R [appobject] deprecate AppObject.entity()
authorNicolas Chauvat <nicolas.chauvat@logilab.fr>
Wed, 12 Aug 2009 18:16:49 +0200
changeset 2787 ece5bbed3cd2
parent 2786 971d7c545505
child 2788 8d3dbe577d3a
R [appobject] deprecate AppObject.entity()
appobject.py
--- a/appobject.py	Wed Aug 12 18:06:23 2009 +0200
+++ b/appobject.py	Wed Aug 12 18:16:49 2009 +0200
@@ -454,6 +454,7 @@
 
     # various resources accessors #############################################
 
+    @deprecated('use self.rset.get_entity(row,col) instead')
     def entity(self, row, col=0):
         """short cut to get an entity instance for a particular row/column
         (col default to 0)