Issue 11282 removed unwanted code to fix coverage
This commit is contained in:
parent
bb76b5f912
commit
bf3f655437
|
@ -219,11 +219,9 @@ class Parser:
|
||||||
default = []
|
default = []
|
||||||
elif type == "bool":
|
elif type == "bool":
|
||||||
default = False
|
default = False
|
||||||
elif type == "string":
|
|
||||||
default = ""
|
|
||||||
else:
|
else:
|
||||||
# unknown type will default to None
|
# for string type
|
||||||
default = None
|
default = ""
|
||||||
|
|
||||||
self._inidict[name] = (help, type, default)
|
self._inidict[name] = (help, type, default)
|
||||||
self._ininames.append(name)
|
self._ininames.append(name)
|
||||||
|
|
Loading…
Reference in New Issue