Esempio n. 1
0
def raiseError(errTxt):
    tai.write("Function: raiseError will raise an exception")
    raise tai.TcError(errTxt)
Esempio n. 2
0
def callbackForAutomaticCall(txt):
    tai.write("callback function called, reference '%s'" % txt, tai.NOTIFICATION_LEVEL.HIGH)
Esempio n. 3
0
def check_tai_write():
    tai.write("tai.NOTIFICATION_LEVEL.PROGRESS", tai.NOTIFICATION_LEVEL.PROGRESS)
    tai.write("tai.NOTIFICATION_LEVEL.DEBUG_DETAIL", tai.NOTIFICATION_LEVEL.DEBUG_DETAIL)
    tai.write("tai.NOTIFICATION_LEVEL.DEBUG", tai.NOTIFICATION_LEVEL.DEBUG)
    tai.write("tai.NOTIFICATION_LEVEL.LOW", tai.NOTIFICATION_LEVEL.LOW)
    tai.write("tai.NOTIFICATION_LEVEL.NORMAL", tai.NOTIFICATION_LEVEL.NORMAL)
    tai.write("tai.NOTIFICATION_LEVEL.HIGH", tai.NOTIFICATION_LEVEL.HIGH)
    tai.write("tai.NOTIFICATION_LEVEL.WARNING", tai.NOTIFICATION_LEVEL.WARNING)
    tai.write("tai.NOTIFICATION_LEVEL.ERROR", tai.NOTIFICATION_LEVEL.ERROR)
Esempio n. 4
0
File: abc.py Progetto: VolBon/ubuntu
def foo():
    
    tai.write("message from foo")