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 <jan@janware.com>
This commit is contained in:
Jan Lindemann 2026-06-01 18:46:07 +02:00
commit 4df432b22d
Signed by: Jan Lindemann
GPG key ID: 3750640C9E25DD61

View file

@ -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'