misc/scripts/ldapuser2ldapfeed.py
changeset 8483 4ba11607d84a
parent 8188 1867e252e487
child 8535 268b6349baf3
equal deleted inserted replaced
8469:82272decfa99 8483:4ba11607d84a
    68 for entities in todelete.values():
    68 for entities in todelete.values():
    69     system_source.delete_info_multi(session, entities, source_name)
    69     system_source.delete_info_multi(session, entities, source_name)
    70 
    70 
    71 
    71 
    72 source_ent = rql('CWSource S WHERE S eid %(s)s', {'s': source.eid}).get_entity(0, 0)
    72 source_ent = rql('CWSource S WHERE S eid %(s)s', {'s': source.eid}).get_entity(0, 0)
    73 source_ent.set_attributes(type=u"ldapfeed", parser=u"ldapfeed")
    73 source_ent.cw_set(type=u"ldapfeed", parser=u"ldapfeed")
    74 
    74 
    75 
    75 
    76 commit()
    76 commit()