From 77d23e72845831a0ddd0b685177cd153e629af4c Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Sun, 19 Nov 2023 08:11:37 -0600 Subject: [PATCH] Fix tracer log viewer issue with callID The callID is a temporary key so need to be able to handle case where it has been removed. --- FWCore/Services/scripts/edmTracerCompactLogViewer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FWCore/Services/scripts/edmTracerCompactLogViewer.py b/FWCore/Services/scripts/edmTracerCompactLogViewer.py index cbfd571dea15f..47b2c1925b42f 100755 --- a/FWCore/Services/scripts/edmTracerCompactLogViewer.py +++ b/FWCore/Services/scripts/edmTracerCompactLogViewer.py @@ -661,7 +661,7 @@ def _postJson(self, counter, data): container = container[index] #find slot containing the pre for slot in container: - if slot[-1]["mod"] == -1*self.moduleID and slot[-1]['callID'] == self.callID: + if slot[-1]["mod"] == -1*self.moduleID and slot[-1].get('callID',0) == self.callID: slot[-1]["finish"]=self.time*kMicroToSec del slot[-1]['callID'] return