branch | stable |
changeset 6133 | 6f3eabbbdf2e |
parent 6122 | 4d2b04b32cdc |
child 6136 | 79da6f969b15 |
--- a/dataimport.py Fri Aug 20 17:08:08 2010 +0200 +++ b/dataimport.py Mon Aug 23 08:46:24 2010 +0200 @@ -34,7 +34,7 @@ ] def gen_users(ctl): - for row in ctl.get_data('utilisateurs'): + for row in ctl.iter_and_commit('utilisateurs'): entity = mk_entity(row, USERS) entity['upassword'] = u'motdepasse' ctl.check('login', entity['login'], None)