Commit 6a2bd244 authored by Vincent Ardisson's avatar Vincent Ardisson Committed by Vincent A

woob.tools.capabilities.bank.transactions: remove outdated category code

There was some pretty old code related to categories.
Some code parsed double-spaces, which might date back to old cragr website.
parent 03172003
......@@ -50,13 +50,7 @@ def __get__(self, obj, owner):
def parse_with_patterns(raw, obj, patterns):
obj.category = NotAvailable
if ' ' in raw:
# FIXME is this still relevant?
obj.category, _, obj.label = [part.strip() for part in raw.partition(' ')]
else:
obj.label = raw
obj.label = raw
for pattern, _type in patterns:
m = pattern.match(raw)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment