Skip to content

Commit 326244b

Browse files
committed
lint
1 parent 600f2aa commit 326244b

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
@@ -392,7 +392,7 @@ def _get_valid_services(
392392

393393
# handle EXACT and ANY selectors
394394
count = (
395-
config.count if config.selector == trustroot_v1.ServiceSelector.EXACT else 1
395+
config.count if config.selector == trustroot_v1.ServiceSelector.EXACT and config.count else 1
396396
)
397397
if len(result) < count:
398398
raise ValueError(

0 commit comments

Comments
 (0)