Skip to content

Commit 66ff587

Browse files
committed
Fix line lengths
1 parent b1e4f13 commit 66ff587

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/confcom/azext_confcom/cose_proxy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def download_binaries():
6161
cosesign1_fetch_resp = requests.get(binary_info["url"], verify=True)
6262
cosesign1_fetch_resp.raise_for_status()
6363

64-
assert hashlib.sha256(cosesign1_fetch_resp.content).hexdigest() == binary_info["sha256"], hashlib.sha256(cosesign1_fetch_resp.content).hexdigest()
64+
assert hashlib.sha256(cosesign1_fetch_resp.content).hexdigest() == binary_info["sha256"]
6565

6666
with open(binary_info["path"], "wb") as f:
6767
f.write(cosesign1_fetch_resp.content)

src/confcom/azext_confcom/kata_proxy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def download_binaries():
5858
kata_fetch_resp = requests.get(binary_info["url"], verify=True)
5959
kata_fetch_resp.raise_for_status()
6060

61-
assert hashlib.sha256(kata_fetch_resp.content).hexdigest() == binary_info["sha256"], hashlib.sha256(kata_fetch_resp.content).hexdigest()
61+
assert hashlib.sha256(kata_fetch_resp.content).hexdigest() == binary_info["sha256"]
6262

6363
with open(binary_info["path"], "wb") as f:
6464
f.write(kata_fetch_resp.content)

src/confcom/azext_confcom/rootfs_proxy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def download_binaries():
4949
dmverity_vhd_fetch_resp = requests.get(binary_info["url"], verify=True)
5050
dmverity_vhd_fetch_resp.raise_for_status()
5151

52-
assert hashlib.sha256(dmverity_vhd_fetch_resp.content).hexdigest() == binary_info["sha256"], hashlib.sha256(dmverity_vhd_fetch_resp.content).hexdigest()
52+
assert hashlib.sha256(dmverity_vhd_fetch_resp.content).hexdigest() == binary_info["sha256"]
5353

5454
with open(binary_info["path"], "wb") as f:
5555
f.write(dmverity_vhd_fetch_resp.content)

0 commit comments

Comments
 (0)