| Message ID | 20261119-gen-releases-svg-fixes-v1-1-b6245fbf8294@bootlin.com |
|---|---|
| State | New |
| Headers | show |
| Series | tools/gen-releases-svg: fixes/improvements | expand |
Hi Antonin, On 11/19/26 8:55 AM, Antonin Godard wrote: > We don't use the result of the command, so use check_call instead. > > Suggested-by: Quentin Schulz <quentin.schulz@cherry.de> > Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de> Thanks! Quentin
diff --git a/documentation/tools/gen-releases-svg b/documentation/tools/gen-releases-svg index e091c02de..6a601b010 100755 --- a/documentation/tools/gen-releases-svg +++ b/documentation/tools/gen-releases-svg @@ -89,7 +89,4 @@ with tempfile.TemporaryDirectory() as tmpdir: mmd.write(f" {codename} {series_version}{" (LTS)" if lts else ""}" f" :{status}, {original_release_date}, {end_date}\n") - result = subprocess.run( - ["mmdc", "--input", mmdpath, "--output", args.output], - check=True, - ) + subprocess.check_call(["mmdc", "--input", mmdpath, "--output", args.output])
We don't use the result of the command, so use check_call instead. Suggested-by: Quentin Schulz <quentin.schulz@cherry.de> Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> --- documentation/tools/gen-releases-svg | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)