Minor refactor

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

View File

@ -60,7 +60,8 @@ def parse_line(line, type_map, special_handling, ans, all_keys, base_path_for_in
if not line or line.startswith('#'): if not line or line.startswith('#'):
return return
m = key_pat.match(line) m = key_pat.match(line)
if m is not None: if m is None:
return
key, val = m.groups() key, val = m.groups()
if special_handling(key, val, ans): if special_handling(key, val, ans):
return return