misc/migration/3.10.0_Any.py
changeset 8483 4ba11607d84a
parent 7508 48398bf8a33a
child 8694 d901c36bcfce
--- a/misc/migration/3.10.0_Any.py	Tue Jul 17 17:16:28 2012 +0200
+++ b/misc/migration/3.10.0_Any.py	Tue Jul 17 12:24:46 2012 +0200
@@ -34,5 +34,5 @@
 for x in rql('Any X,XK WHERE X pkey XK, '
              'X pkey ~= "boxes.%" OR '
              'X pkey ~= "contentnavigation.%"').entities():
-    x.set_attributes(pkey=u'ctxcomponents.' + x.pkey.split('.', 1)[1])
+    x.cw_set(pkey=u'ctxcomponents.' + x.pkey.split('.', 1)[1])