From 9c3a6647eeb4d5cb43d0d59f29d41534920054b4 Mon Sep 17 00:00:00 2001 From: Matthieu Dietrich Date: Mon, 13 Apr 2015 16:28:59 +0200 Subject: [PATCH] Remove extra %s --- base_concurrency/res_users.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base_concurrency/res_users.py b/base_concurrency/res_users.py index 36ffbcfe6..905af8566 100644 --- a/base_concurrency/res_users.py +++ b/base_concurrency/res_users.py @@ -108,7 +108,7 @@ class ResUsers(orm.Model): try: cr.execute("SELECT login_dt " "FROM res_users_login " - "WHERE user_id=%%s " + "WHERE user_id=%s " "FOR UPDATE NOWAIT", (user_id,), log_exceptions=False) # create login line if not existing