docs: def _load_from_ini_py2(ini):
      """
      py2从单个配置文件中,获取设置
      :param :
      :param ini:
      :return:
      """
      logger.debug('使用PY2不支持自定义default_section，其默认值是:%s' % _DEFAULT_SECTION)
      cf = configparser.ConfigParser()
      cf.read(ini)
      settings = OrderedDict()
      for k, v in cf.defaults().items():
          settings[k.upper()] = convert_value(v)
      cf._defaults = {}
      for section in cf.sections():
          section_dict = OrderedDict()
          for option in cf.items(section):
              section_dict[option[0]] = option[1]
          settings[section] = section_dict
      return settings