[IMP] better call string repr

This commit is contained in:
unknown
2013-01-28 13:56:53 +01:00
parent fdb899c540
commit bef1aacb02

View File

@@ -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]