Skip to content

Commit

Permalink
Fix spacing to match the rest of the script (TriBITSPub#600)
Browse files Browse the repository at this point in the history
Function used 4 spaces instead of 2.
  • Loading branch information
achauphan committed Feb 2, 2024
1 parent f6c5995 commit 7ebc52c
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -237,12 +237,11 @@ def getDateRangeTuple(referenceDateTime, dayTimeDelta):


def getTopicTargetSha1s(buildConfigOutput):
pattern = r"Parent [12]:\n\s+(\w+)"
matchedList = regex.findall(pattern, buildConfigOutput)

if len(matchedList) != 2: return None
return tuple(matchedList)
pattern = r"Parent [12]:\n\s+(\w+)"
matchedList = regex.findall(pattern, buildConfigOutput)

if len(matchedList) != 2: return None
return tuple(matchedList)

def getBuildIdFromTest(test):
return test['buildSummaryLink'].split("/")[-1]
Expand Down

0 comments on commit 7ebc52c

Please sign in to comment.