Esempio n. 1
0
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)
Esempio n. 2
0
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)
Esempio n. 3
0
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()