misc/migration/3.10.0_Any.py
changeset 6141 b8287e54b528
child 6378 5a86a0c147bd
equal deleted inserted replaced
6140:65a619eb31c4 6141:b8287e54b528
       
     1 # rename cwprops for boxes/contentnavigation
       
     2 for x in rql('Any X,XK WHERE X pkey XK, '
       
     3              'X pkey ~= "boxes.%s" OR '
       
     4              'X pkey ~= "contentnavigation.%s"').entities():
       
     5     x.set_attributes(pkey=u'ctxcomponents.' + x.pkey.split('.',1))