banking-addons-team team mailing list archive
-
banking-addons-team team
-
Mailing list archive
-
Message #02024
[Merge] lp:~therp-nl/banking-addons/7.0_mt940_line_endings into lp:banking-addons
Holger Brunn (Therp) has proposed merging lp:~therp-nl/banking-addons/7.0_mt940_line_endings into lp:banking-addons.
Requested reviews:
Banking Addons Core Editors (banking-addons-team)
For more details, see:
https://code.launchpad.net/~therp-nl/banking-addons/7.0_mt940_line_endings/+merge/223754
--
https://code.launchpad.net/~therp-nl/banking-addons/7.0_mt940_line_endings/+merge/223754
Your team Banking Addons Core Editors is requested to review the proposed merge of lp:~therp-nl/banking-addons/7.0_mt940_line_endings into lp:banking-addons.
=== modified file 'account_banking_mt940/mt940.py'
--- account_banking_mt940/mt940.py 2014-03-06 14:05:01 +0000
+++ account_banking_mt940/mt940.py 2014-06-19 14:15:26 +0000
@@ -75,7 +75,7 @@
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:
Follow ups