Skip to content
Snippets Groups Projects
Commit be179da1 authored by Mads Kiilerich's avatar Mads Kiilerich
Browse files

config: backout 77f1f206e135 - 743daa601445 removed the only use of overlay

parent d666da07
No related merge requests found
......@@ -157,11 +157,9 @@
self._tcfg.restore(data[1])
self._ucfg.restore(data[2])
def setconfig(self, section, name, value, overlay=True):
if overlay:
self._ocfg.set(section, name, value)
self._tcfg.set(section, name, value)
self._ucfg.set(section, name, value)
def setconfig(self, section, name, value):
for cfg in (self._ocfg, self._tcfg, self._ucfg):
cfg.set(section, name, value)
self.fixconfig(section=section)
def _data(self, untrusted):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment