'Set the section options.
:param section: The section name
:param options: an OptionList
:return: None'

def _set_x_settings(self, section, options):

    if (section not in self._config.sections()):
        self._config.add_section(section)
    for option in options:
        self._config.set(section, option.get_name(), option.get_value_for_profile())
