Set the correct number of update callbacks. Bug #6219.

svn: r20875
This commit is contained in:
Gary Burton 2012-12-29 17:20:47 +00:00
parent 1a5c516179
commit b5fec9d1a3

View File

@ -79,7 +79,7 @@ class Rebuild(tool.Tool, UpdateCallback):
uistate.push_message(dbstate, _("Rebuilding secondary indexes..."))
UpdateCallback.__init__(self, self.callback)
self.set_total(11)
self.set_total(12)
self.db.rebuild_secondary(self.update)
self.reset()