The built-in max function can take an iterable directly, no need to
reimplement it.
Details
Details
- Reviewers
ardumont vsellier - Commits
- rDSCHcdb1775f2474: Simplify max_date()
Diff Detail
Diff Detail
- Repository
- rDSCH Scheduling utilities
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Comment Actions
Build is green
Patch application report for D5066 (id=18079)
Rebasing onto cf32e37649...
Current branch diff-target is up to date.
Changes applied before test
commit cdb1775f247401ec24f8bb5dac7f9f2b40005bca Author: Nicolas Dandrimont <nicolas@dandrimont.eu> Date: Tue Feb 9 10:33:19 2021 +0100 Simplify max_date() The built-in `max` function can take an iterable directly, no need to reimplement it.
See https://jenkins.softwareheritage.org/job/DSCH/job/tests-on-diff/301/ for more details.
Comment Actions
lol \m/
("pq faire simple...")
I absolutely missed that when i initially saw that diff ;)