Don't blat the default layout with an empty one

This commit is contained in:
Chris Jones 2010-03-05 12:29:02 +00:00
parent 7cc7ef80d3
commit ffc6a67e03

View File

@ -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: