[IMP] l10n_be: improve small code

bzr revid: mra@tinyerp.com-20100521104126-6stnda1kaz7b8c8u
This commit is contained in:
mra (Open ERP) 2010-05-21 16:11:26 +05:30
parent 6345994357
commit 51b3801869
1 changed files with 1 additions and 2 deletions

View File

@ -216,8 +216,7 @@ class partner_vat_list(osv.osv_memory):
sum_tax = 0.00
sum_turnover = 0.00
if len(error_message):
msg ='Exception : \n' +'-'*50+'\n'+ '\n'.join(error_message)
return msg
return 'Exception : \n' +'-'*50+'\n'+ '\n'.join(error_message)
for line in datas:
if not line:
continue