def tftpassert(condition, msg):
    if not condition:
        raise TftpException, msg
This function is a simple utility that will check the condition
dataset/ETHPy150Open dragondjf/QMarkdowner/tftpy/TftpShared.py/tftpassert