Workaround missing 'plugins' entry in configuration

This commit is contained in:
Emmanuel Bretelle 2010-02-06 16:02:16 +01:00
parent 813c86a280
commit 4c36b25341
1 changed files with 3 additions and 0 deletions

View File

@ -451,6 +451,9 @@ class ConfigBase(Borg):
configspecdata['layouts']['__many__'] = {}
configspecdata['layouts']['__many__']['__many__'] = section
# FIXME: should be properly loading plugins from built-in config
configspecdata['plugins'] = {}
configspec = ConfigObj(configspecdata)
if DEBUG == True:
configspec.write(open('/tmp/terminator_configspec_debug.txt', 'w'))