[entity] fix deprecation warnings (closes #2423719)
authorAurelien Campeas <aurelien.campeas@logilab.fr>
Wed, 01 Aug 2012 10:47:27 +0200
changeset 8509 e83b4a64ba29
parent 8505 dcd9bc1d1bca
child 8510 e2913c9880a0
[entity] fix deprecation warnings (closes #2423719)
entity.py
--- a/entity.py	Tue Jul 24 18:30:36 2012 +0200
+++ b/entity.py	Wed Aug 01 10:47:27 2012 +0200
@@ -1298,11 +1298,11 @@
 
     # deprecated stuff #########################################################
 
-    @deprecated('[3.15] use cw_set() instead')
+    @deprecated('[3.16] use cw_set() instead')
     def set_attributes(self, **kwargs): # XXX cw_set_attributes
         self.cw_set(**kwargs)
 
-    @deprecated('[3.15] use cw_set() instead')
+    @deprecated('[3.16] use cw_set() instead')
     def set_relations(self, **kwargs): # XXX cw_set_relations
         """add relations to the given object. To set a relation where this entity
         is the object of the relation, use 'reverse_'<relation> as argument name.