|
|
|
@ -241,6 +241,13 @@ class SystemIni(LayeredIni):
|
|
|
|
|
value = self.lowerIni.get(section, varname, raw=True, fallback="")
|
|
|
|
|
return value
|
|
|
|
|
|
|
|
|
|
def getKeys(self, section):
|
|
|
|
|
skeys = []
|
|
|
|
|
for iniobj in (self.upperIni, self.config, self.lowerIni):
|
|
|
|
|
if iniobj.has_section(section):
|
|
|
|
|
skeys.extend(list(iniobj[section].keys()))
|
|
|
|
|
return list(sorted(list(set(skeys))))
|
|
|
|
|
|
|
|
|
|
def delVar(self, section, varname):
|
|
|
|
|
try:
|
|
|
|
|
self.config.remove_option(section, varname)
|
|
|
|
|