--- a/common/mixins.py Fri Jul 31 19:18:33 2009 +0200
+++ b/common/mixins.py Fri Jul 31 22:37:28 2009 +0200
@@ -8,7 +8,7 @@
"""
__docformat__ = "restructuredtext en"
-from logilab.common.deprecation import obsolete
+from logilab.common.deprecation import deprecated
from logilab.common.decorators import cached
from cubicweb import typed_eid
@@ -242,7 +242,7 @@
# specific vocabulary methods #############################################
- @obsolete('use EntityFieldsForm.subject_in_state_vocabulary')
+ @deprecated('use EntityFieldsForm.subject_in_state_vocabulary')
def subject_in_state_vocabulary(self, rschema, limit=None):
form = self.vreg.select('forms', 'edition', self.req, entity=self)
return form.subject_in_state_vocabulary(rschema, limit)