Skip to content
Permalink
Browse files

[FIX] account_banking_pain_base: flake8

  • Loading branch information...
pedrobaeza committed Mar 26, 2019
1 parent b269ec1 commit 5d50053dcdf51b7a19602f668ef13b15cddb35f4
Showing with 3 additions and 1 deletion.
  1. +3 −1 account_banking_pain_base/models/res_bank.py
@@ -22,7 +22,9 @@ def _check_bic(self):
:raise: ValidationError if the BIC doesn't respect the regex of the
SEPA pain schemas.
"""
invalid_banks = self.filtered(lambda r: r.bic and not BIC_REGEX.match(r.bic))
invalid_banks = self.filtered(
lambda r: r.bic and not BIC_REGEX.match(r.bic)
)
if invalid_banks:
raise ValidationError(_(
"The following Bank Identifier Codes (BIC) do not respect "

0 comments on commit 5d50053

Please sign in to comment.
You can’t perform that action at this time.