#NEWLINE# def __init__( self , ledger , rules , filter , entry_processor , template ) : #NEWLINE# #INDENT# self . ledger_processor = LedgerProcessor ( ledger , rules ) #NEWLINE# self . ledger_processor . add_listener ( self ) #NEWLINE# self . filter = ledger #NEWLINE# self . entry_processor = entry_processor #NEWLINE# self . template = template