From: Richard Maw Date: Wed, 10 Apr 2024 14:07:40 +0000 (+0100) Subject: Fix credential file parsing falling through to empty values X-Git-Tag: v23~10^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=508500cd938a187642acdbd45a1806f2671f5bf8;p=thirdparty%2Fmkosi.git Fix credential file parsing falling through to empty values --- diff --git a/mkosi/config.py b/mkosi/config.py index 326c7bba0..b8f73c34c 100644 --- a/mkosi/config.py +++ b/mkosi/config.py @@ -858,6 +858,8 @@ def config_make_dict_parser(delimiter: str, else: die(f"{p} does not exist") + return new + if unescape: lex = shlex.shlex(value, posix=True) lex.whitespace_split = True