Skip to content

Commit dedab8e

Browse files
committed
fmt
1 parent 326244b commit dedab8e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sigstore/_internal/trust.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,9 @@ def _get_valid_services(
392392

393393
# handle EXACT and ANY selectors
394394
count = (
395-
config.count if config.selector == trustroot_v1.ServiceSelector.EXACT and config.count else 1
395+
config.count
396+
if config.selector == trustroot_v1.ServiceSelector.EXACT and config.count
397+
else 1
396398
)
397399
if len(result) < count:
398400
raise ValueError(

0 commit comments

Comments
 (0)