because it's confusing
This also fixes a logging statement to avoid the expansion and let the logging framework do its job.
Differential D4593
Stop using the deprecated configuration scheme ardumont on Nov 25 2020, 3:42 PM. Authored by
Details
Diff Detail
Event TimelineComment Actions Build is green Patch application report for D4593 (id=16306)Could not rebase; Attempt merge onto 9e5b17faa8... Updating 9e5b17f..466273d Fast-forward swh/scheduler/cli/__init__.py | 6 +++--- swh/scheduler/cli/task_type.py | 9 ++++----- 2 files changed, 7 insertions(+), 8 deletions(-) Changes applied before testcommit 466273d7244a7c2e85ae0a560c1eb7df8ae86095 Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Wed Nov 25 15:33:29 2020 +0100 Stop using the deprecated configuration scheme commit c50763348cb09636c70d22a12393157f4ee7f8d6 Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Wed Nov 25 15:30:10 2020 +0100 cli.task_type: All task_type clis without a scheduler should raise As the code will plainly fail on calling methods on None instance if not caught early. See https://jenkins.softwareheritage.org/job/DSCH/job/tests-on-diff/79/ for more details. |