diff --git a/CHANGELOG.md b/CHANGELOG.md index e3169f7ae..34fb14936 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +### 43.2.7 [#1304](https://github.com/openfisca/openfisca-core/pull/1304) + +#### Bugfix + +- Fix `computation_log`. + ### 43.2.6 [#1297](https://github.com/openfisca/openfisca-core/pull/1297) #### Bugfix 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, diff --git a/setup.py b/setup.py index fbb378359..c2ced9708 100644 --- a/setup.py +++ b/setup.py @@ -70,7 +70,7 @@ setup( name="OpenFisca-Core", - version="43.2.6", + version="43.2.7", author="OpenFisca Team", author_email="contact@openfisca.org", classifiers=[