~sircmpwn/todo.sr.ht

2c8901c8eed972056f5843f291b2969321247469 — Drew DeVault a month ago 15e8154 0.62.2
tracker_import: fix tickets with no events
1 files changed, 1 insertions(+), 1 deletions(-)

M todosrht/tracker_import.py
M todosrht/tracker_import.py => todosrht/tracker_import.py +1 -1
@@ 139,7 139,7 @@ def _tracker_import(dump, tracker):
                ticket.authenticity = TicketAuthenticity.authentic
            else:
                ticket.authenticity = TicketAuthenticity.tampered
        for edata in tdata["events"]:
        for edata in tdata.get("events", []):
            for field in [
                "created", "event_type", "old_status", "new_status",
                "old_resolution", "new_resolution", "user", "ticket",