# HG changeset patch # User Sylvain Thénault # Date 1285940738 -7200 # Node ID 5a86a0c147bdc4018319b1acd94aeab5e0f4d56a # Parent 3bb415310d4f84cd8064de98b419ab0ae62abed5 [3.10 migration] fix migration of cwproperties related to components/boxes diff -r 3bb415310d4f -r 5a86a0c147bd misc/migration/3.10.0_Any.py --- a/misc/migration/3.10.0_Any.py Fri Oct 01 15:45:00 2010 +0200 +++ b/misc/migration/3.10.0_Any.py Fri Oct 01 15:45:38 2010 +0200 @@ -2,4 +2,5 @@ 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)) + x.set_attributes(pkey=u'ctxcomponents.' + x.pkey.split('.', 1)[1]) +