diff --git a/git_trace2_event_log.py b/git_trace2_event_log.py index 7426aba9..2edab0e1 100644 --- a/git_trace2_event_log.py +++ b/git_trace2_event_log.py @@ -110,7 +110,7 @@ class EventLog(object): return { 'event': event_name, 'sid': self._full_sid, - 'thread': threading.currentThread().getName(), + 'thread': threading.current_thread().name, 'time': datetime.datetime.utcnow().isoformat() + 'Z', }