fpdb: remove error trap on "Recreate Tables" menu option - trapping should be much more localized.

This commit is contained in:
Eric Blade 2009-08-16 04:46:41 -05:00
parent a90415bc84
commit aa0610dcfa

View File

@ -243,7 +243,6 @@ class fpdb:
if self.obtain_global_lock(): # returns true if successful
#lock_released = False
try:
dia_confirm = gtk.MessageDialog(parent=None, flags=0, type=gtk.MESSAGE_WARNING,
buttons=(gtk.BUTTONS_YES_NO), message_format="Confirm deleting and recreating tables")
diastring = "Please confirm that you want to (re-)create the tables. If there already are tables in the database " \
@ -265,8 +264,6 @@ class fpdb:
# self.fdb_lock.fdb.recreate_tables()
elif response == gtk.RESPONSE_NO:
print 'User cancelled recreating tables'
except:
pass
#if not lock_released:
self.release_global_lock()
#end def dia_recreate_tables