'Load the requested profile from the repository.'

def GetProfileByName(self, name, version):

    server_type = config.CONFIG['Rekall.profile_server']
    logging.info("Getting    missing    Rekall    profile    '%s'    from    %s", name, server_type)
    profile_server = rekall_profile_server.ProfileServer.classes[server_type]()
    return profile_server.GetProfileByName(name, version=version)
