R using entity.attr = val is now accepted
authorNicolas Chauvat <nicolas.chauvat@logilab.fr>
Fri, 14 Aug 2009 12:14:29 +0200
changeset 2845 660caa3ddc4f
parent 2842 0477fff5f897
child 2846 e71d6a585b83
R using entity.attr = val is now accepted
entity.py
--- a/entity.py	Fri Aug 14 11:14:26 2009 +0200
+++ b/entity.py	Fri Aug 14 12:14:29 2009 +0200
@@ -819,9 +819,6 @@
         return eobj.get_value(self._attrname)
 
     def __set__(self, eobj, value):
-        # XXX bw compat
-        # would be better to generate UPDATE queries than the current behaviour
-        eobj.warning("[3.4] deprecated usage, don't use 'entity.attr = val' notation)")
         eobj[self._attrname] = value