fix deprecation warnings in appobject: display the correct expected replacement
authorAdrien Di Mascio <Adrien.DiMascio@logilab.fr>
Wed, 23 Sep 2009 12:29:31 +0200
changeset 3419 32cfd0844243
parent 3418 7b49fa7e942d
child 3420 15f17399bda2
fix deprecation warnings in appobject: display the correct expected replacement
appobject.py
--- a/appobject.py	Wed Sep 23 12:28:28 2009 +0200
+++ b/appobject.py	Wed Sep 23 12:29:31 2009 +0200
@@ -372,11 +372,11 @@
     def limited_rql(self):
         return self.rset.limited_rql()
 
-    @deprecated('[3.6] use self.rset.complete_entity(row,col) instead')
+    @deprecated('[3.6] use self.cw_rset.complete_entity(row,col) instead')
     def complete_entity(self, row, col=0, skip_bytes=True):
         return self.rset.complete_entity(row, col, skip_bytes)
 
-    @deprecated('[3.6] use self.rset.get_entity(row,col) instead')
+    @deprecated('[3.6] use self.cw_rset.get_entity(row,col) instead')
     def entity(self, row, col=0):
         return self.rset.get_entity(row, col)