Skip to content

Commit 60b5e31

Browse files
authored
Make the checksums optional all the way up the stack (#298)
1 parent 75561b4 commit 60b5e31

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cli/src/etos_client/downloader/downloader.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ def download_report(self, report: Report):
265265
Downloadable(
266266
url=report.file.get("url"),
267267
name=report.file.get("name"),
268-
checksums=report.file.get("checksums"),
268+
checksums=report.file.get("checksums", {}),
269269
path=reports,
270270
)
271271
)
@@ -279,7 +279,7 @@ def download_artifact(self, artifact: Artifact):
279279
Downloadable(
280280
url=artifact.file.get("url"),
281281
name=artifact.file.get("name"),
282-
checksums=artifact.file.get("checksums"),
282+
checksums=artifact.file.get("checksums", {}),
283283
path=artifacts,
284284
)
285285
)

0 commit comments

Comments
 (0)