Skip to content

Commit

Permalink
Fix for python 2 (doesn't support match[...])
Browse files Browse the repository at this point in the history
  • Loading branch information
iarspider committed Dec 18, 2024
1 parent 4f99750 commit 17bcc49
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions buildLogAnalyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -420,13 +420,13 @@ def makeHTMLLogFile(self, pkg):
url = (
"https://github.com/cms-sw/cmssw/blob/"
+ self.release
+ m["file"]
+ m.group("file")
+ "#L"
+ m["line"]
+ m.group("line")
)

newLine = newLine.replace(
m["full_path"], '<a href="' + url + '">' + m["full_path"] + "</a>", 1
m.group("full_path"), '<a href="' + url + '">' + m.group("full_path") + "</a>", 1
)
newLine = (
"<span class="
Expand Down

0 comments on commit 17bcc49

Please sign in to comment.