Skip to content

Commit

Permalink
Restore line printing in tracer
Browse files Browse the repository at this point in the history
  • Loading branch information
guillett committed Nov 20, 2024
1 parent 9f43461 commit 7ef9ba4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openfisca_core/tracers/computation_log.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ def print_log(self, aggregate: bool = False, max_depth: int = sys.maxsize) -> No
If ``max_depth`` is set, for example to ``3``, only print computed
vectors up to a depth of ``max_depth``.
"""
for _ in self.lines(aggregate, max_depth):
pass
for line in self.lines(aggregate, max_depth):
print(line)

def _get_node_log(
self,
Expand Down

0 comments on commit 7ef9ba4

Please sign in to comment.