# HG changeset patch # User sylvain.thenault@logilab.fr # Date 1239117562 -7200 # Node ID ea03cdbc9f2e5e9aebe9b1f8cb1fbfc789cc2670 # Parent 5f16f45e9bae65d19fae0d66d022b604f2bcd889 fix deprecation message diff -r 5f16f45e9bae -r ea03cdbc9f2e 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)