# HG changeset patch # User Jeff Hammel # Date 1332977672 25200 # Node ID 348451576d84d3949d1c797b46cf955eed8b0e64 # Parent 0f9f8f225e79093e59e21310e2159f0076727f51 fix diff -r 0f9f8f225e79 -r 348451576d84 configuration/configuration.py --- a/configuration/configuration.py Wed Mar 28 15:24:25 2012 -0700 +++ b/configuration/configuration.py Wed Mar 28 16:34:32 2012 -0700 @@ -264,7 +264,7 @@ def validate(self): """validate resultant configuration""" - for key, value in self.options.items(): + for key, value in self.items(): if key not in self.config: required = value.get('required') if required: @@ -286,7 +286,7 @@ self.add(config) # add defaults if not present - for key, value in self.options.items(): + for key, value in self.items(): if 'default' in value and key not in self.config: self.config[key] = value['default']