Files
mesa/bin/ci/gitlab_gql.py
Christian Gmeiner c4c545b287 bin/ci: Fix SyntaxWarning about return in finally block
Remove the finally block with a return statement in GitlabGQL.query()
method. This pattern causes a SyntaxWarning in Python 3.14 as the return
in finally will override any return value or exception from the try/except
blocks.

Move the return statement to the end of the except block where it belongs,
maintaining the same error recovery behavior while fixing the warning.

Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38123>
2025-10-29 08:16:39 +00:00

23 KiB
Executable File