Skip to content

Commit 512d4c5

Browse files
lint
Signed-off-by: Ramon Petgrave <ramon.petgrave64@gmail.com>
1 parent af2ce0e commit 512d4c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sigstore/models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -488,9 +488,9 @@ def _verify(self) -> None:
488488
# We expect some old bundles to violate the rules around root
489489
# and intermediate CAs, so we issue warnings and not hard errors
490490
# in those cases.
491-
leaf_cert, *chain_certs = [
491+
leaf_cert, *chain_certs = (
492492
load_der_x509_certificate(cert.raw_bytes) for cert in certs
493-
]
493+
)
494494
if not cert_is_leaf(leaf_cert):
495495
raise InvalidBundle(
496496
"bundle contains an invalid leaf or non-leaf certificate in the leaf position"

0 commit comments

Comments
 (0)