Under some conditions, mypy can detect it is declared as Optional[str].
Fixes jenkins build [1]
[1] https://jenkins.softwareheritage.org/job/DLDBASE/job/tests/1139/console
Differential D4143
debian: Fix mypy error by asserting ChangeBlock.package is not None. vlorentz on Oct 5 2020, 2:48 PM. Authored by Tags None Subscribers None
Details
Under some conditions, mypy can detect it is declared as Optional[str]. Fixes jenkins build [1] [1] https://jenkins.softwareheritage.org/job/DLDBASE/job/tests/1139/console
Diff Detail
Event TimelineComment Actions Build is green Patch application report for D4143 (id=14608)Rebasing onto 64f2361c85... Current branch diff-target is up to date. Changes applied before testcommit 7d3d8ffa304d9674cf2f3253d3c9df543135ca10 Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Mon Oct 5 14:47:24 2020 +0200 debian: Fix mypy error by asserting ChangeBlock.package is not None. Under some conditions, mypy can detect it is declared as Optional[str]. See https://jenkins.softwareheritage.org/job/DLDBASE/job/tests-on-diff/325/ for more details. |