entity.py
changeset 2613 5e19c2bb370e
parent 2421 08d42928fe36
child 2647 b0a2e779845c
--- a/entity.py	Fri Jul 31 19:18:33 2009 +0200
+++ b/entity.py	Fri Jul 31 22:37:28 2009 +0200
@@ -12,7 +12,7 @@
 from logilab.common import interface
 from logilab.common.compat import all
 from logilab.common.decorators import cached
-from logilab.common.deprecation import obsolete
+from logilab.common.deprecation import deprecated
 from logilab.mtconverter import TransformData, TransformError, xml_escape
 
 from rql.utils import rqlvar_maker
@@ -719,7 +719,7 @@
 
     # generic vocabulary methods ##############################################
 
-    @obsolete('see new form api')
+    @deprecated('see new form api')
     def vocabulary(self, rtype, role='subject', limit=None):
         """vocabulary functions must return a list of couples
         (label, eid) that will typically be used to fill the