diff --git a/openfisca_core/tracers/computation_log.py b/openfisca_core/tracers/computation_log.py index bd68b4b21..5aac589f6 100644 --- a/openfisca_core/tracers/computation_log.py +++ b/openfisca_core/tracers/computation_log.py @@ -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,