Issue 11282 removed unwanted code to fix coverage

This commit is contained in:
Sharad Nair 2023-11-07 19:40:26 +05:30
parent bb76b5f912
commit bf3f655437
1 changed files with 2 additions and 4 deletions

View File

@ -219,11 +219,9 @@ class Parser:
default = []
elif type == "bool":
default = False
elif type == "string":
default = ""
else:
# unknown type will default to None
default = None
# for string type
default = ""
self._inidict[name] = (help, type, default)
self._ininames.append(name)