Skip to content

Commit 4bb731c

Browse files
committed
fix type
Signed-off-by: William Woodruff <william@trailofbits.com>
1 parent 670a3cf commit 4bb731c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sigstore/_internal/trust.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ def _verify(self) -> None:
377377

378378
# The client trust config must have a recognized media type.
379379
try:
380-
ClientTrustConfig(self._inner.media_type)
380+
ClientTrustConfig.ClientTrustConfigType(self._inner.media_type)
381381
except ValueError:
382382
raise Error(
383383
f"unsupported client trust config format: {self._inner.media_type}"

0 commit comments

Comments
 (0)