Warn when a line in the config file is invalid

This commit is contained in:
Luflosi 2019-03-14 18:40:05 +01:00
parent a28710c1fc
commit ed62e72a98
No known key found for this signature in database
GPG Key ID: 14140F703B7D8362

View File

@ -61,6 +61,7 @@ def parse_line(line, type_map, special_handling, ans, all_keys, base_path_for_in
return
m = key_pat.match(line)
if m is None:
log_error('Ignoring invalid config line: {}'.format(line))
return
key, val = m.groups()
if special_handling(key, val, ans):