Skip to content

Commit

Permalink
Merge pull request #14304 from Dr15Jones/handleManyStreamsInStallGrapher
Browse files Browse the repository at this point in the history
Properly handle the case where there are more than 10 streams
  • Loading branch information
davidlange6 committed Apr 29, 2016
2 parents 847e1f7 + 43aa5c7 commit 9a96fe8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion FWCore/Concurrency/bin/edmStreamStallGrapher.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ def readLogFile(fileName):
delayed = False
if l.find("finished:") != -1:
trans = kFinished
stream = int( l[l.find("stream = ")+9])
streamIndex = l.find("stream = ")
stream = int( l[streamIndex+9:l.find(" ",streamIndex+10)])
name = l.split("'")[1]
if l.find("delayed") != -1:
delayed = True
Expand Down

0 comments on commit 9a96fe8

Please sign in to comment.