Skip to content

Commit 1ba7e01

Browse files
committed
html-report.py: add sanity check
1 parent e555788 commit 1ba7e01

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

html-report.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ def version_timestamps(g, a, v):
7474
Returns a (releaseTimestamp, lastDeployed) pair.
7575
"""
7676
gav, releaseTimestamp, lastDeployed = subprocess.check_output(['./version-timestamps.sh', f'{g}:{a}:{v}']).decode().strip('\n\r').split(' ')
77+
assert gav == f'{g}:{a}:{v}'
7778
releaseTimestamp = int(releaseTimestamp) if releaseTimestamp else 0
7879
lastDeployed = int(lastDeployed) if lastDeployed else 0
7980
return releaseTimestamp, lastDeployed

0 commit comments

Comments
 (0)