entity.py
changeset 2788 8d3dbe577d3a
parent 2784 f395115070c1
child 2807 696ff03f9a58
--- a/entity.py	Wed Aug 12 18:16:49 2009 +0200
+++ b/entity.py	Wed Aug 12 18:40:52 2009 +0200
@@ -715,7 +715,7 @@
 
     # generic vocabulary methods ##############################################
 
-    @deprecated('see new form api')
+    @deprecated('[3.4] 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
@@ -941,7 +941,7 @@
     def __set__(self, eobj, value):
         # XXX bw compat
         # would be better to generate UPDATE queries than the current behaviour
-        eobj.warning("deprecated usage, don't use 'entity.attr = val' notation)")
+        eobj.warning("[3.4] deprecated usage, don't use 'entity.attr = val' notation)")
         eobj[self._attrname] = value