Skip to content

Commit

Permalink
Fix tracer log viewer issue with callID
Browse files Browse the repository at this point in the history
The callID is a temporary key so need to be able to handle case
where it has been removed.
  • Loading branch information
Dr15Jones committed Nov 19, 2023
1 parent 7122236 commit 77d23e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FWCore/Services/scripts/edmTracerCompactLogViewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 77d23e7

Please sign in to comment.