# Path: model/pyro/user.py
# class PyroUser(object):
# 
#     def __init__(self):
#         pass


from model.pyro.user import PyroUser

    if 'storage_mode' in config_dict:
        storage_mode = config_dict['storage_mode']
        if 'remote_path' in storage_mode:
            if 'local_path' not in storage_mode:
                raise RTorrentConfigException('Remote storage mode, ' + 
                    'missing local_path to mount point')
        elif 'local_path' in storage_mode:
            if storage_mode['local_path'] != '/':
                raise RTorrentConfigException('Local storage mode, not ' +
                    'pointed to root')
        else:
            raise RTorrentConfigException('Storage mode configured to ' +
                'invalid/unsupported state.')

        info['storage_mode'] = config_dict['storage_mode']

    return info

def parse_config_part(config_dict, name):
    """
    Parse target configuration.
    """

    info = _parse_config_part_connection(config_dict, name)
    info = _parse_config_part_storage(config_dict, info)

    return info

def parse_user_part(config_dict, name):

# Path: model/pyro/user.py
# class PyroUser(object):
# 
#     def __init__(self):
#         pass


# Path: lib/config_parser.py
from model.pyro.user import PyroUser


    if 'storage_mode' in config_dict:
        storage_mode = config_dict['storage_mode']
        if 'remote_path' in storage_mode:
            if 'local_path' not in storage_mode:
                raise RTorrentConfigException('Remote storage mode, ' + 
                    'missing local_path to mount point')
        elif 'local_path' in storage_mode:
            if storage_mode['local_path'] != '/':
                raise RTorrentConfigException('Local storage mode, not ' +
                    'pointed to root')
        else:
            raise RTorrentConfigException('Storage mode configured to ' +
                'invalid/unsupported state.')

        info['storage_mode'] = config_dict['storage_mode']

    return info

def parse_config_part(config_dict, name):
    """
    Parse target configuration.
    """

    info = _parse_config_part_connection(config_dict, name)
    info = _parse_config_part_storage(config_dict, info)

    return info

def parse_user_part(config_dict, name):

    user = PyroUser()