misc/migration/3.10.0_Any.py
branchstable
changeset 7508 48398bf8a33a
parent 6945 28bf94d062a9
child 8483 4ba11607d84a
equal deleted inserted replaced
7507:4c043afb104a 7508:48398bf8a33a
    30                   config=config)
    30                   config=config)
    31 commit()
    31 commit()
    32 
    32 
    33 # rename cwprops for boxes/contentnavigation
    33 # rename cwprops for boxes/contentnavigation
    34 for x in rql('Any X,XK WHERE X pkey XK, '
    34 for x in rql('Any X,XK WHERE X pkey XK, '
    35              'X pkey ~= "boxes.%s" OR '
    35              'X pkey ~= "boxes.%" OR '
    36              'X pkey ~= "contentnavigation.%s"').entities():
    36              'X pkey ~= "contentnavigation.%"').entities():
    37     x.set_attributes(pkey=u'ctxcomponents.' + x.pkey.split('.', 1)[1])
    37     x.set_attributes(pkey=u'ctxcomponents.' + x.pkey.split('.', 1)[1])
    38 
    38