Minor refactor
This commit is contained in:
parent
764a058cf6
commit
a28710c1fc
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user