]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Fix credential file parsing falling through to empty values
authorRichard Maw <richard.maw@codethink.co.uk>
Wed, 10 Apr 2024 14:07:40 +0000 (15:07 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 10 Apr 2024 19:31:13 +0000 (21:31 +0200)
mkosi/config.py

index 326c7bba075eddcf9d3c49e9e5cbbd9de337753a..b8f73c34cb1e85370b869fca1a31da4b86a975cd 100644 (file)
@@ -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