예제 #1
0
def addJournalEntry(incident, entry_line):
    hi = HistoryItem()
    hi.journal_entry = entry_line
    try:
        incident.history.append(hi)
    except AttributeError:
        incident.history = History(hi)
예제 #2
0
def addJournalEntry(incident, entry_line):
    hi = HistoryItem()
    hi.journal_entry = entry_line
    incident.history.append(hi)
예제 #3
0
def addJournalEntry(incident, entry_line):
    hi = HistoryItem()
    hi.journal_entry = entry_line
    incident.history.append(hi)