def addNodeResultMessage(rule, label, message, date): if label != "" and message != "": try: nrm = NodeResultMessage(rule=rule, label=label, message=message, updated_date=date) nrm.save() except: print(" *** Error saving Node Result Message: " + label + " : " + message)
def addNodeResultMessage(rule, label, message, date): print(" Node Result Message: " + label + ": " + message) if label != "" and message != "": try: nrm = NodeResultMessage(rule=rule, label=label, message=message, updated_date=date) nrm.save() except: print(" *** Error saving Node Result Message: " + label + " : " + message)
def addNodeResultMessage(rule, label, message, date, editor): print " Node Result Message: " + label + ": " + message if label != "" and message != "": nrm = NodeResultMessage(rule=rule, label=label, message=message, updated_date=date, updated_editor=editor) nrm.save()