def maint_db_reinstall(dbo): try: dbupdate.reinstall_default_data(dbo) except: em = str(sys.exc_info()[0]) al.error("FAIL: uncaught error running maint_db_reinstall: %s" % em, "cron.maint_db_reinstall", dbo, sys.exc_info())
def maint_db_reinstall(dbo): try: dbupdate.reinstall_default_data(dbo) except: em = str(sys.exc_info()[0]) al.error( "FAIL: uncaught error running maint_db_reinstall: %s" % em, "cron.maint_db_reinstall", dbo, sys.exc_info() )