summaryrefslogtreecommitdiffstats
path: root/git_trace2_event_log_base.py
diff options
context:
space:
mode:
Diffstat (limited to 'git_trace2_event_log_base.py')
-rw-r--r--git_trace2_event_log_base.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/git_trace2_event_log_base.py b/git_trace2_event_log_base.py
index 7b51b753..f5424249 100644
--- a/git_trace2_event_log_base.py
+++ b/git_trace2_event_log_base.py
@@ -76,9 +76,8 @@ class BaseEventLog:
76 # Save both our sid component and the complete sid. 76 # Save both our sid component and the complete sid.
77 # We use our sid component (self._sid) as the unique filename prefix and 77 # We use our sid component (self._sid) as the unique filename prefix and
78 # the full sid (self._full_sid) in the log itself. 78 # the full sid (self._full_sid) in the log itself.
79 self._sid = "repo-%s-P%08x" % ( 79 self._sid = (
80 self.start.strftime("%Y%m%dT%H%M%SZ"), 80 f"repo-{self.start.strftime('%Y%m%dT%H%M%SZ')}-P{os.getpid():08x}"
81 os.getpid(),
82 ) 81 )
83 82
84 if add_init_count: 83 if add_init_count: