[IMP] cope with nonstandard line endings

This commit is contained in:
Holger Brunn
2014-06-19 16:14:11 +02:00
parent 6a215075d1
commit 2d79f1de0f

View File

@@ -75,7 +75,7 @@ class MT940(object):
def parse(self, cr, data):
'implements account_banking.parsers.models.parser.parse()'
iterator = data.split('\r\n').__iter__()
iterator = data.replace('\r\n', '\n').split('\n').__iter__()
line = None
record_line = ''
try: