'Parse the settings dictionary.'

def parse_settings_dict(self, settings_dict, depth=1, root_key=None):

    for (key, value) in settings_dict.iteritems():
        if isinstance(value, dict):
            self.parse_settings_dict(value, depth=(depth + 1), root_key=key)
        else:
            self.parse_setting(root_key, key, value)
