Without the return, 'psycopg2.connect(db_or_conninfo)' is actually reachable
when calling next() twice on the generator
Details
Details
- Reviewers
ardumont - Group Reviewers
Reviewers - Commits
- rDCORE843a010cf646: Fix mypy error
Diff Detail
Diff Detail
- Repository
- rDCORE Foundations and core functionalities
- 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 D8285 (id=29917)
Rebasing onto c232fb093e...
Current branch diff-target is up to date.
Changes applied before test
commit 843a010cf646272f9323bb064aa9dc29c9221599 Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Tue Aug 23 10:26:00 2022 +0200 Fix mypy error Without the return, 'psycopg2.connect(db_or_conninfo)' is actually reachable when calling next() twice on the generator
See https://jenkins.softwareheritage.org/job/DCORE/job/tests-on-diff/471/ for more details.