mt940/processors.py
def mBank_set_iph_id(transactions, tag, tag_dict, *args):
    """
    mBank Collect uses ID IPH to distinguish between virtual accounts,
    adding iph_id may be helpful in further processing
    """
    matches = iph_id_re.search(tag_dict[tag.slug])

    if matches:  # pragma no branch
        tag_dict['iph_id'] = matches.groupdict()['iph_id']

    return tag_dict
def mBank_set_iph_id(transactions, tag, tag_dict, *args):
    matches = iph_id_re.search(tag_dict[tag.slug])

    if matches:  # pragma no branch
        tag_dict['iph_id'] = matches.groupdict()['iph_id']

    return tag_dict
def mBank_set_iph_id ( transactions , tag , tag_dict , * args ) : matches = iph_id_re . search ( tag_dict [ tag . slug ] ) if matches : # pragma no branch tag_dict [ 'iph_id' ] = matches . groupdict ( ) [ 'iph_id' ] return tag_dict
mBank Collect uses ID IPH to distinguish between virtual accounts,
    adding iph_id may be helpful in further processing
mBank Collect uses ID IPH to distinguish between virtual accounts adding iph_id may be helpful in further processing