[FIX] Fixed some problems after rebasing.

This commit is contained in:
Ronald Portier (Therp BV)
2015-06-10 17:23:23 +02:00
parent 449c00e4ef
commit 567adc3ebc
2 changed files with 1 additions and 2 deletions

View File

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

View File

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