# HG changeset patch # User Sylvain Thénault # Date 1274877452 -7200 # Node ID c6edefa9b3f16137203bb13babca2d0d81feacf2 # Parent a56eb02f9ce70fc463b3b956a5efb13660d9882d [web] update to 3.9 Entity api diff -r a56eb02f9ce7 -r c6edefa9b3f1 web/application.py --- a/web/application.py Wed May 26 12:33:48 2010 +0200 +++ b/web/application.py Wed May 26 14:37:32 2010 +0200 @@ -235,7 +235,7 @@ def _update_last_login_time(self, req): # XXX should properly detect missing permission / non writeable source # and avoid "except (RepositoryError, Unauthorized)" below - if req.user.metainformation()['source']['adapter'] == 'ldapuser': + if req.user.cw_metainformation()['source']['adapter'] == 'ldapuser': return try: req.execute('SET X last_login_time NOW WHERE X eid %(x)s',