Browse Source

[FIX] auth_brute_force: flake8

pull/1441/head
Pedro M. Baeza 6 years ago
committed by GitHub
parent
commit
58d243d739
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      auth_brute_force/migrations/10.0.2.0.0/pre-migrate.py

2
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

Loading…
Cancel
Save