From 4df432b22de686743d87d9f36e08f6c3f6265d99 Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Mon, 1 Jun 2026 18:46:07 +0200 Subject: [PATCH] lib.util.run_curl_into(): Fix indentation error Fix a regregression breaking run_curl() / run_curl_into(), introduced by commit 6db73873e7. A missing indentation raises a non-existing Error after successful JSON parsing, fix that. Signed-off-by: Jan Lindemann --- src/python/jw/pkg/lib/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python/jw/pkg/lib/util.py b/src/python/jw/pkg/lib/util.py index fa8d5683..3a809305 100644 --- a/src/python/jw/pkg/lib/util.py +++ b/src/python/jw/pkg/lib/util.py @@ -88,7 +88,7 @@ async def run_curl_into( f'Failed to parse {len(stdout)} bytes of Curl output ({str(e)})', file = sys.stderr, ) - raise + raise if not isinstance(ret, expected_type): raise TypeError( f'Expected {expected_type.__name__}, got {type(ret).__name__} from Curl'