Don't blat the default layout with an empty one
This commit is contained in:
parent
7cc7ef80d3
commit
ffc6a67e03
|
@ -535,6 +535,9 @@ class ConfigBase(Borg):
|
|||
for layout in parser[section_name]:
|
||||
dbg('ConfigBase::load: Processing %s: %s' % (section_name,
|
||||
layout))
|
||||
if layout == 'default' and \
|
||||
parser[section_name][layout] == {}:
|
||||
continue
|
||||
section[layout] = parser[section_name][layout]
|
||||
else:
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue