Skip to content

Commit 6344a72

Browse files
committed
next fix
1 parent 5bdc3cc commit 6344a72

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

mis_builder/models/aep.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -552,9 +552,7 @@ def _get_balances(cls, mode, companies, date_from, date_to):
552552
aep.parse_expr(expr)
553553
aep.done_parsing()
554554
aep.do_queries(date_from, date_to)
555-
from pprint import pprint
556555

557-
pprint(aep._data)
558556
return aep._data[((), mode)].get(UNCLASSIFIED_ROW_DETAIL, {})
559557
# to keep compatibility, we give the UNCLASSIFIED_ROW_DETAIL
560558
# (expecting that auto_expand_col_names=None was given to do_queries )

mis_builder/tests/test_aep.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,12 +185,10 @@ def _eval(self, expr):
185185
def _eval_by_account_id(self, expr):
186186
res = {}
187187
eval_dict = {"AccountingNone": AccountingNone}
188-
from pprint import pprint
189188

190189
for account_id, replaced_exprs in self.aep.replace_exprs_by_account_id([expr]):
191-
pprint(account_id)
192-
pprint(replaced_exprs)
193190
res[account_id] = safe_eval(replaced_exprs[0], eval_dict)
191+
194192
return res
195193

196194
def _eval_by_rdi(self, expr):

0 commit comments

Comments
 (0)