Commit f9a776bd authored by Aurelien Campeas's avatar Aurelien Campeas
Browse files

[entity] fix deprecation warnings (closes #2423719)

parent dcd9bc1d1bca
......@@ -1298,11 +1298,11 @@ class Entity(AppObject):
# 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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment