changeset 6141 | b8287e54b528 |
child 6378 | 5a86a0c147bd |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/misc/migration/3.10.0_Any.py Wed Aug 25 10:29:07 2010 +0200 @@ -0,0 +1,5 @@ +# rename cwprops for boxes/contentnavigation +for x in rql('Any X,XK WHERE X pkey XK, ' + 'X pkey ~= "boxes.%s" OR ' + 'X pkey ~= "contentnavigation.%s"').entities(): + x.set_attributes(pkey=u'ctxcomponents.' + x.pkey.split('.',1))