diff -r b718626a0e60 -r 13b0b96d7982 misc/migration/postcreate.py --- a/misc/migration/postcreate.py Mon Mar 08 19:02:35 2010 +0100 +++ b/misc/migration/postcreate.py Tue Mar 09 08:59:43 2010 +0100 @@ -42,8 +42,8 @@ # need this since we already have at least one user in the database (the default admin) for user in rql('Any X WHERE X is CWUser').entities(): - session.unsafe_execute('SET X in_state S WHERE X eid %(x)s, S eid %(s)s', - {'x': user.eid, 's': activated.eid}, 'x') + rql('SET X in_state S WHERE X eid %(x)s, S eid %(s)s', + {'x': user.eid, 's': activated.eid}, 'x') # on interactive mode, ask for level 0 persistent options if interactive_mode: