changeset 78:348451576d84

fix
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 28 Mar 2012 16:34:32 -0700
parents 0f9f8f225e79
children fe31a57ac577
files configuration/configuration.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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']