Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dbast committed Sep 13, 2023
1 parent a5e415c commit b8309c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conda_content_trust/authentication.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def verify_delegation(
checkformat_signable(untrusted_delegated_metadata)
try:
checkformat_delegating_metadata(untrusted_delegated_metadata)
except (TypeError or ValueError):
except (ValueError, TypeError):
# If we can't verify that we're verifying more delegating metadata
# (e.g. we're using root to verify key_mgr), then we don't need to
# perform the type check, as it can just be any signed content we're
Expand Down

0 comments on commit b8309c1

Please sign in to comment.