Skip to content

Commit

Permalink
use .items as .iteritems will get deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
LoannPeurey committed Nov 13, 2023
1 parent 0df00a1 commit bf00954
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ChildProject/projects.py
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ def validate(self, ignore_recordings: bool = False, profile: str = None, accumul

self.errors += [
f"Age at recording is negative in recordings on line {index} ({age:.1f} months). Check date_iso for that recording and child_dob for the corresponding child."
for index, age in ages[ages<0].iteritems()
for index, age in ages[ages < 0].items()
]

# detect un-indexed recordings and throw warnings
Expand Down

0 comments on commit bf00954

Please sign in to comment.