Beispiel #1
0
def maint_db_dump(dbo):
    try:
        for x in dbupdate.dump(dbo):
            print unicode(x).encode("utf-8")
    except:
        em = str(sys.exc_info()[0])
        al.error("FAIL: uncaught error running maint_db_dump: %s" % em, "cron.maint_db_dump", dbo, sys.exc_info())
Beispiel #2
0
def maint_db_dump(dbo):
    try:
        print unicode(dbupdate.dump(dbo)).encode("utf-8")
    except:
        em = str(sys.exc_info()[0])
        al.error("FAIL: uncaught error running maint_db_dump: %s" % em,
                 "cron.maint_db_dump", dbo, sys.exc_info())
Beispiel #3
0
def maint_db_dump(dbo):
    try:
        print dbupdate.dump(dbo)
    except:
        em = str(sys.exc_info()[0])
        al.error("FAIL: uncaught error running maint_db_dump: %s" % em, "cron.maint_db_dump", dbo, sys.exc_info())