changeset 10095 | 200bd6a601dc |
parent 10074 | ab956b780d4e |
child 10096 | decd60fa8cc5 |
--- a/server/__init__.py Wed May 14 15:05:31 2014 +0200 +++ b/server/__init__.py Thu Nov 06 14:35:25 2014 +0100 @@ -196,7 +196,7 @@ user = session.create_entity('CWUser', login=login, upassword=pwd) for group in groups: session.execute('SET U in_group G WHERE U eid %(u)s, G name %(group)s', - {'u': user.eid, 'group': group}) + {'u': user.eid, 'group': unicode(group)}) return user def init_repository(config, interactive=True, drop=False, vreg=None,