also fix a possible UnboundLocalError in swh_db_upgrade
when no migration script is to be executed.
Details
Details
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 D7324 (id=26491)
Rebasing onto ae654de04e...
Current branch diff-target is up to date.
Changes applied before test
commit 7d9a946c1766c49b416e46d8f775631f8e75be37 Author: David Douard <david.douard@sdfa3.org> Date: Wed Mar 9 17:14:40 2022 +0100 Fix a possible UnboundLocalError in swh_db_upgrade when no migration script is to be executed. commit 6017252a078aa9d7d56a1a0c0ca9d5e674d01833 Author: David Douard <david.douard@sdfa3.org> Date: Wed Mar 9 16:08:53 2022 +0100 Do not do call swh_db_upgrade if not needed in `swh db upgrade`
See https://jenkins.softwareheritage.org/job/DCORE/job/tests-on-diff/374/ for more details.
Comment Actions
Build is green
Patch application report for D7324 (id=26492)
Rebasing onto ae654de04e...
Current branch diff-target is up to date.
Changes applied before test
commit f40adde2a91dbc7d63a7f1b878ff50e41ca442cb Author: David Douard <david.douard@sdfa3.org> Date: Wed Mar 9 17:14:40 2022 +0100 Fix a possible UnboundLocalError in swh_db_upgrade when no migration script is to be executed. commit 6017252a078aa9d7d56a1a0c0ca9d5e674d01833 Author: David Douard <david.douard@sdfa3.org> Date: Wed Mar 9 16:08:53 2022 +0100 Do not do call swh_db_upgrade if not needed in `swh db upgrade`
See https://jenkins.softwareheritage.org/job/DCORE/job/tests-on-diff/375/ for more details.