Skip to content

Commit

Permalink
Fix typo in holder
Browse files Browse the repository at this point in the history
  • Loading branch information
bonjourmauko committed Sep 25, 2023
1 parent dc08001 commit aad6d3d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion openfisca_core/holders/holder.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,8 @@ def _set(self, period, value):
should_store_on_disk = (
self._on_disk_storable
and self._memory_storage.get(period) is None
and psutil.virtual_memory().percent # If there is already a value in memory, replace it and don't put a new value in the disk storage
and psutil.virtual_memory().percent # If there is already a value in memory, replace it and don't
# put a new value in the disk storage
>= self.simulation.memory_config.max_memory_occupation_pc
)

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"numexpr >= 2.7.0, <= 3.0",
"numpy >= 1.24.2, <1.25",
"pendulum >= 2.1.2, < 3.0.0",
"psutil >= 5.4.7, < 6.0.0",
"psutil >=5.9.4, <6.0",
"pytest >= 4.4.1, < 6.0.0", # For openfisca test
"sortedcontainers == 2.2.2",
"typing-extensions >= 4.0.0, < 5.0.0",
Expand Down

0 comments on commit aad6d3d

Please sign in to comment.