From: Raphael Michel Date: Mon, 3 Dec 2018 19:13:12 +0000 (+0100) Subject: Remove unused code X-Git-Tag: v2.0.0~1^2~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56235ffd5a937a20a14b929cb7b389fb8a54140c;p=thirdparty%2Fpython-fints.git Remove unused code --- diff --git a/fints/utils.py b/fints/utils.py index d3b0073..d7e4d77 100644 --- a/fints/utils.py +++ b/fints/utils.py @@ -19,24 +19,6 @@ def mt940_to_array(data): return transactions.parse(data) -def print_segments(message): - segments = str(message).split("'") - for idx, seg in enumerate(segments): - print(u"{}: {}".format(idx, seg.encode('utf-8'))) - - -def fints_unescape(content): - return content.replace('??', '?').replace("?'", "'").replace('?+', '+').replace('?:', ':').replace('?@', '@') - - -def split_for_data_groups(seg): - return re.split('\+(?