Initialise command_line_options

This commit is contained in:
Chris Jones 2010-02-21 11:55:29 +00:00
parent ad1b1ecc79
commit f9e5a69c71

View File

@ -411,6 +411,8 @@ class ConfigBase(Borg):
self.layouts = {}
for layout in DEFAULTS['layouts']:
self.layouts[layout] = copy(DEFAULTS['layouts'][layout])
if self.command_line_options is None:
self.command_line_options = {}
def defaults_to_configspec(self):
"""Convert our tree of default values into a ConfigObj validation