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

svn: r20887
This commit is contained in:
Gary Burton 2012-12-30 16:56:38 +00:00
parent c34398cbef
commit 300d520cb0

View File

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