コード例 #1
0
def main():
    IOSPush.start()
    while True:
        try:
            receive_offline_message()
        except Exception, e:
            print_exception_traceback()
            time.sleep(1)
            continue
コード例 #2
0
ファイル: face_push.py プロジェクト: richmonkey/jm_push
def main():
    IOSPush.start()
    while True:
        try:
            receive_offline_message()
        except Exception, e:
            print_exception_traceback()
            time.sleep(1)
            continue
コード例 #3
0
def main():
    logging.debug("startup")
    IOSPush.start()
    while True:
        try:
            receive_offline_message()
        except Exception as e:
            print_exception_traceback()
            time.sleep(1)
            continue