changeset 10354 | 635cfac73d28 |
parent 10331 | 6f25c7e4f19b |
child 10358 | d551d0a162d5 |
--- a/web/views/sessions.py Fri Jun 13 13:54:28 2014 +0200 +++ b/web/views/sessions.py Tue Jun 10 16:01:49 2014 +0200 @@ -96,7 +96,7 @@ # XXX should properly detect missing permission / non writeable source # and avoid "except (RepositoryError, Unauthorized)" below try: - cnx = repoapi.ClientConnection(session) + cnx = repoapi.Connection(session) with cnx: cnx.execute('SET X last_login_time NOW WHERE X eid %(x)s', {'x' : session.user.eid})