diff --git a/account_statement_base_completion/statement.py b/account_statement_base_completion/statement.py index c9fd6232..183bc91f 100644 --- a/account_statement_base_completion/statement.py +++ b/account_statement_base_completion/statement.py @@ -444,9 +444,9 @@ class AccountBankSatement(Model): if res: compl_lines += 1 except ErrorTooManyPartner, exc: - msg += exc.__repr__() + "\n" + msg += repr(exc) + "\n" except Exception, exc: - msg += exc.__repr__() + "\n" + msg += repr(exc) + "\n" # vals = res and res.keys() or False if res: vals = res[line.id]