def _expected_pfns(lfns, rse_settings, scheme, operation='write', domain='wan', protocol_attr=None):
    p = rsemgr.create_protocol(rse_settings=rse_settings, operation='write', scheme=scheme, domain=domain, protocol_attr=protocol_attr)
    expected_pfns = p.lfns2pfns(lfns)
    return clean_surls(expected_pfns.values())
def _expected_pfns(lfns, rse_settings, scheme, operation='write', domain='wan', protocol_attr=None):
    p = rsemgr.create_protocol(rse_settings=rse_settings, operation='write', scheme=scheme, domain=domain, protocol_attr=protocol_attr)
    expected_pfns = p.lfns2pfns(lfns)
    return clean_surls(expected_pfns.values())