equal
deleted
inserted
replaced
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() |