author | Alexandre Fayolle <alexandre.fayolle@logilab.fr> |
Mon, 23 Aug 2010 08:46:24 +0200 | |
branch | stable |
changeset 6133 | 6f3eabbbdf2e |
parent 6132 | 440df442d705 |
child 6134 | 272cfcc10a28 |
dataimport.py | file | annotate | diff | comparison | revisions |
--- 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)