From 58d243d7398d5e70d3d718ebb89e5d42e332c4d5 Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Fri, 30 Nov 2018 17:01:13 +0100 Subject: [PATCH] [FIX] auth_brute_force: flake8 --- auth_brute_force/migrations/10.0.2.0.0/pre-migrate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth_brute_force/migrations/10.0.2.0.0/pre-migrate.py b/auth_brute_force/migrations/10.0.2.0.0/pre-migrate.py index 4dde20361..b1157254a 100644 --- a/auth_brute_force/migrations/10.0.2.0.0/pre-migrate.py +++ b/auth_brute_force/migrations/10.0.2.0.0/pre-migrate.py @@ -11,7 +11,7 @@ def migrate(cr, version): # Don't act when coming from version 9 cr.execute("SELECT 1 FROM pg_class WHERE relname = 'res_banned_remote'") if not cr.fetchone(): - return + return # Fix typo across DB cr.execute( """ UPDATE res_authentication_attempt