author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Fri, 01 Oct 2010 15:45:38 +0200 | |
changeset 6378 | 5a86a0c147bd |
parent 6377 | 3bb415310d4f |
child 6379 | 3f67f7ea5632 |
--- 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]) +