remove error handler on hudcache rebuild menu, if it errors we should know about it

This commit is contained in:
eblade 2009-07-31 00:15:25 -04:00
parent 85c635d1da
commit 21b859f244

View File

@ -246,7 +246,6 @@ class fpdb:
def dia_recreate_hudcache(self, widget, data=None): def dia_recreate_hudcache(self, widget, data=None):
if self.obtain_global_lock(): if self.obtain_global_lock():
try:
dia_confirm = gtk.MessageDialog(parent=None, flags=0, type=gtk.MESSAGE_WARNING, buttons=(gtk.BUTTONS_YES_NO), message_format="Confirm recreating HUD cache") dia_confirm = gtk.MessageDialog(parent=None, flags=0, type=gtk.MESSAGE_WARNING, buttons=(gtk.BUTTONS_YES_NO), message_format="Confirm recreating HUD cache")
diastring = "Please confirm that you want to re-create the HUD cache." diastring = "Please confirm that you want to re-create the HUD cache."
dia_confirm.format_secondary_text(diastring) dia_confirm.format_secondary_text(diastring)
@ -257,8 +256,6 @@ class fpdb:
self.db.rebuild_hudcache() self.db.rebuild_hudcache()
elif response == gtk.REPSONSE_NO: elif response == gtk.REPSONSE_NO:
print 'User cancelled rebuilding hud cache' print 'User cancelled rebuilding hud cache'
except:
pass
self.release_global_lock() self.release_global_lock()