Source code for openalea.sconsx.errormsg
[docs]
def critical(txt, *arg):
raise ValueError(txt, *arg)
[docs]
def error(txt, *arg):
msg = '*** Error :' + txt
if len(arg) > 0 : msg += ' : ' + list(map(str,arg))
print(msg)
[docs]
def warning(txt, *arg):
msg = '*** Warning :' + txt
if len(arg) > 0 : msg += ' : ' + list(map(str,arg))
print(msg)