misc/scripts/ldapuser2ldapfeed.py
changeset 8483 4ba11607d84a
parent 8188 1867e252e487
child 8535 268b6349baf3
--- a/misc/scripts/ldapuser2ldapfeed.py	Tue Jul 17 17:16:28 2012 +0200
+++ b/misc/scripts/ldapuser2ldapfeed.py	Tue Jul 17 12:24:46 2012 +0200
@@ -70,7 +70,7 @@
 
 
 source_ent = rql('CWSource S WHERE S eid %(s)s', {'s': source.eid}).get_entity(0, 0)
-source_ent.set_attributes(type=u"ldapfeed", parser=u"ldapfeed")
+source_ent.cw_set(type=u"ldapfeed", parser=u"ldapfeed")
 
 
 commit()