Browse Source

[FIX] Fixed some problems after rebasing.

pull/15/head
Ronald Portier (Therp BV) 10 years ago
parent
commit
567adc3ebc
  1. 2
      bank_statement_parse_mt940/mt940.py
  2. 1
      bank_statement_parse_nl_rabo_mt940/mt940.py

2
bank_statement_parse_mt940/mt940.py

@ -125,7 +125,7 @@ class MT940(object):
raise ValueError( raise ValueError(
'File starting with %s does not seem to be a' 'File starting with %s does not seem to be a'
' valid %s MT940 format bank statement.' % ' valid %s MT940 format bank statement.' %
(data[:12], self.mt940_type)
(line[:12], self.mt940_type)
) )
def parse(self, data): def parse(self, data):

1
bank_statement_parse_nl_rabo_mt940/mt940.py

@ -21,7 +21,6 @@
############################################################################## ##############################################################################
import re import re
from string import printable from string import printable
from datetime import datetime
from openerp.addons.bank_statement_parse_mt940.mt940 import ( from openerp.addons.bank_statement_parse_mt940.mt940 import (
MT940, str2amount, get_subfields, handle_common_subfields) MT940, str2amount, get_subfields, handle_common_subfields)

Loading…
Cancel
Save