dbapi.py
changeset 6142 8bc6eac1fac1
parent 6066 953578709324
child 6279 42079f752a9c
--- a/dbapi.py	Wed Aug 25 10:29:07 2010 +0200
+++ b/dbapi.py	Wed Aug 25 10:29:18 2010 +0200
@@ -631,7 +631,7 @@
         else:
             from cubicweb.entity import Entity
             user = Entity(req, rset, row=0)
-        user['login'] = login # cache login
+        user.cw_attr_cache['login'] = login # cache login
         return user
 
     def __del__(self):