fix 3.10 cwproperties migration stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 15 Jun 2011 12:41:06 +0200
branchstable
changeset 7508 48398bf8a33a
parent 7507 4c043afb104a
child 7509 c69dd872e5d7
fix 3.10 cwproperties migration
misc/migration/3.10.0_Any.py
--- a/misc/migration/3.10.0_Any.py	Tue Jun 14 22:54:25 2011 +0200
+++ b/misc/migration/3.10.0_Any.py	Wed Jun 15 12:41:06 2011 +0200
@@ -32,7 +32,7 @@
 
 # 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 pkey ~= "boxes.%" OR '
+             'X pkey ~= "contentnavigation.%"').entities():
     x.set_attributes(pkey=u'ctxcomponents.' + x.pkey.split('.', 1)[1])