Skip to content

Commit 77d23e7

Browse files
committed
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.
1 parent 7122236 commit 77d23e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

FWCore/Services/scripts/edmTracerCompactLogViewer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@ def _postJson(self, counter, data):
661661
container = container[index]
662662
#find slot containing the pre
663663
for slot in container:
664-
if slot[-1]["mod"] == -1*self.moduleID and slot[-1]['callID'] == self.callID:
664+
if slot[-1]["mod"] == -1*self.moduleID and slot[-1].get('callID',0) == self.callID:
665665
slot[-1]["finish"]=self.time*kMicroToSec
666666
del slot[-1]['callID']
667667
return

0 commit comments

Comments
 (0)