Exemplo n.º 1
0
Arquivo: cron.py Projeto: magul/asm3
def maint_db_dump_smcom(dbo):
    try:
        for x in dbupdate.dump_smcom(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_smcom", dbo, sys.exc_info())
Exemplo n.º 2
0
def maint_db_dump_smcom(dbo):
    try:
        print unicode(dbupdate.dump_smcom(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_smcom", dbo, sys.exc_info())
Exemplo n.º 3
0
def maint_db_dump_smcom(dbo):
    try:
        print dbupdate.dump_smcom(dbo)
    except:
        em = str(sys.exc_info()[0])
        al.error("FAIL: uncaught error running maint_db_dump: %s" % em, "cron.maint_db_dump_smcom", dbo, sys.exc_info())