Guard coding for ";" line
This commit is contained in:
@@ -108,6 +108,9 @@ def set_option(name: str, cs: ChangeSet) -> ChangeSet:
|
||||
def inp_in_option(section: list[str]) -> ChangeSet:
|
||||
cs = g_update_prefix | { 'type' : 'option' }
|
||||
for s in section:
|
||||
if s.startswith(';'):
|
||||
continue
|
||||
|
||||
line = s.upper().strip()
|
||||
for key in get_option_schema('').keys():
|
||||
if line.startswith(key):
|
||||
|
||||
Reference in New Issue
Block a user