fix deprecation message tls-sprint
authorsylvain.thenault@logilab.fr
Tue, 07 Apr 2009 17:19:22 +0200
branchtls-sprint
changeset 1267 ea03cdbc9f2e
parent 1266 5f16f45e9bae
child 1268 5db94912650b
fix deprecation message
common/mixins.py
--- a/common/mixins.py	Tue Apr 07 17:19:13 2009 +0200
+++ b/common/mixins.py	Tue Apr 07 17:19:22 2009 +0200
@@ -234,7 +234,7 @@
             
     # specific vocabulary methods #############################################
     
-    @obsolete('use EntityFieldsForm.object_relation_vocabulary')
+    @obsolete('use EntityFieldsForm.subject_in_state_vocabulary')
     def subject_in_state_vocabulary(self, rschema, limit=None):
         from cubicweb.web.form import EntityFieldsForm
         return EntityFieldsForm(self.req, None, entity=self).subject_in_state_vocabulary(rschema, limit)