def get_values(self, config_manager, ignore_mismatches, obj_hook=DotDict):
        """Return a nested dictionary representing the values in the ini file.
        In the case of this ValueSource implementation, both parameters are
        dummies."""
        if self.delayed_parser_instantiation:
            try:
                app = config_manager._get_option('admin.application')
                source = "%s%s" % (app.value.app_name, file_name_extension)
                self.config_obj = configobj.ConfigObj(source)
                self.delayed_parser_instantiation = False
            except AttributeError:
                # we don't have enough information to get the ini file
                # yet.  we'll ignore the error for now
                return obj_hook()  # return empty dict of the obj_hook type
        if isinstance(self.config_obj, obj_hook):
            return self.config_obj
        return obj_hook(initializer=self.config_obj)
def get_values ( self , config_manager , ignore_mismatches , obj_hook = DotDict ) : if self . delayed_parser_instantiation : try : app = config_manager . _get_option ( 'admin.application' ) source = "%s%s" % ( app . value . app_name , file_name_extension ) self . config_obj = configobj . ConfigObj ( source ) self . delayed_parser_instantiation = False except AttributeError : return obj_hook ( ) if isinstance ( self . config_obj , obj_hook ) : return self . config_obj return obj_hook ( initializer = self . config_obj )
Return a nested dictionary representing the values in the ini file.
        In the case of this ValueSource implementation, both parameters are
        dummies.