yandextank/config_converter/converter.py
def parse_sections(cfg_ini):
    """
    :type cfg_ini: ConfigParser
    """
    return [Section(section.lower(),
                    guess_plugin(section.lower()),
                    without_defaults(cfg_ini, section))
            for section in cfg_ini.sections()
            if not re.match(CORE_SECTION_PATTERN, section.lower()) and section.lower() not in DEPRECATED_SECTIONS]
def parse_sections(cfg_ini):
    """
    :type cfg_ini: ConfigParser
    """
    return [Section(section.lower(),
                    guess_plugin(section.lower()),
                    without_defaults(cfg_ini, section))
            for section in cfg_ini.sections()
            if not re.match(CORE_SECTION_PATTERN, section.lower()) and section.lower() not in DEPRECATED_SECTIONS]
def parse_sections ( cfg_ini ) : return [ Section ( section . lower ( ) , guess_plugin ( section . lower ( ) ) , without_defaults ( cfg_ini , section ) ) for section in cfg_ini . sections ( ) if not re . match ( CORE_SECTION_PATTERN , section . lower ( ) ) and section . lower ( ) not in DEPRECATED_SECTIONS ]
:type cfg_ini: ConfigParser
: type cfg_ini : ConfigParser