def _parse_application_section(cfg, parser, section):
    '''
    Example of application section:
    [application:flt]
    import: flt.application
    name: flt
    # pythonpath is optional
    pythonpath: /etc/flt/python
    '''
    try:
        sys.path.append(cfg.get(section, 'pythonpath'))
    except ConfigParser.NoOptionError:
        pass

    module = cfg.get(section, 'import')
    name = cfg.get(section, 'name')
    try:
        applications.load(module, name)
    except ImportError as e:
        raise error.FeatError(
            "Loading application %s.%s failed, requested from section %s" %
            (module, name, section, ), cause=e)
Example of application section:
    [application:flt]
    import: flt.application
    name: flt
    # pythonpath is optional
    pythonpath: /etc/flt/python