diff options
author | Yann Leboulanger <asterix@lagaule.org> | 2005-11-26 16:53:29 +0300 |
---|---|---|
committer | Yann Leboulanger <asterix@lagaule.org> | 2005-11-26 16:53:29 +0300 |
commit | afe373c6f4d061977800395589f1a075ba60dca6 (patch) | |
tree | 68cdd2a54352427a40d56195bccd0c12083e23d4 /scripts | |
parent | 362d60ab8f3ff12427325dc7bdaa2bb59b908079 (diff) |
[multani] commit in DB only once per file, noe migration is SO FAST !!! 2hours -> 3 minutes
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/migrate_logs_to_dot9_db.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/migrate_logs_to_dot9_db.py b/scripts/migrate_logs_to_dot9_db.py index 00d1cedff..c9c2cf184 100755 --- a/scripts/migrate_logs_to_dot9_db.py +++ b/scripts/migrate_logs_to_dot9_db.py @@ -229,7 +229,7 @@ def visit(arg, dirname, filenames): values = (JID_ID, contact_name, tim, kind, show, message) cur.execute(sql, values) - con.commit() + con.commit() if __name__ == '__main__': print 'IMPORTNANT: PLEASE READ http://trac.gajim.org/wiki/MigrateLogToDot9DB' |