misc/migration/3.10.0_Any.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 29 Sep 2010 16:46:47 +0200
changeset 6367 d4c485ec1ca1
parent 6141 b8287e54b528
child 6378 5a86a0c147bd
permissions -rw-r--r--
fix merge, some buffers weren't saved...

# 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))