From 776867e9b05f907c6096e96416b7177eca1ce9b0 Mon Sep 17 00:00:00 2001 From: Holger Brunn Date: Wed, 26 Feb 2014 18:18:47 +0100 Subject: [PATCH] [IMP] code formatting, forgotten comment --- account_banking_mt940/mt940.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/account_banking_mt940/mt940.py b/account_banking_mt940/mt940.py index a1cac99aa..e719e7822 100644 --- a/account_banking_mt940/mt940.py +++ b/account_banking_mt940/mt940.py @@ -54,10 +54,13 @@ class MT940(object): header_lines = 3 '''One file can contain multiple statements, each with its own poorly documented header. For now, the best thing to do seems to skip that''' + footer_regex = '^-}$' footer_regex = '^-XXX$' 'The line that denotes end of message, we need to create a new statement' + tag_regex = '^:[0-9]{2}[A-Z]*:' + 'The beginning of a record, should be anchored to beginning of the line' def __init__(self, *args, **kwargs): super(MT940, self).__init__(*args, **kwargs)