fix a bug in migration with python2.3
This commit is contained in:
parent
a89be870a7
commit
7604fac314
|
@ -1548,6 +1548,10 @@ if __name__ == '__main__':
|
||||||
# Force GTK to really destroy the window
|
# Force GTK to really destroy the window
|
||||||
while gtk.events_pending():
|
while gtk.events_pending():
|
||||||
gtk.main_iteration(False)
|
gtk.main_iteration(False)
|
||||||
|
# We can't use a SQLite object in another thread than the one in
|
||||||
|
# which it was created, so create a new Migration instance
|
||||||
|
del m
|
||||||
|
m = migrate_logs_to_dot9_db.Migration()
|
||||||
m.migrate()
|
m.migrate()
|
||||||
# Init logger values (self.con/cur, jid_already_in)
|
# Init logger values (self.con/cur, jid_already_in)
|
||||||
gajim.logger.init_vars()
|
gajim.logger.init_vars()
|
||||||
|
|
Loading…
Reference in New Issue