From ffc6a67e0376d9724e668bb91effdbf8be8d7500 Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Fri, 5 Mar 2010 12:29:02 +0000 Subject: [PATCH] Don't blat the default layout with an empty one --- terminatorlib/config.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/terminatorlib/config.py b/terminatorlib/config.py index c5a58c25..8feeba5e 100755 --- a/terminatorlib/config.py +++ b/terminatorlib/config.py @@ -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: