Skip to content

Commit

Permalink
CLI: Don't iterate over IntFlag instance
Browse files Browse the repository at this point in the history
This isn't supported on older Python versions.
  • Loading branch information
dainnilsson committed Jul 10, 2024
1 parent 40d9e25 commit 98e2d39
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ykman/_cli/info.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,11 @@ def info(ctx, check_fips):
if info.fips_capable:
click.echo()
click.echo("FIPS approved applications")
data = {c.display_name: c in info.fips_approved for c in info.fips_capable}
data = {
c.display_name: c in info.fips_approved
for c in CAPABILITY
if c in info.fips_capable
}
click.echo("\n".join(pretty_print(data)))

if check_fips:
Expand Down

0 comments on commit 98e2d39

Please sign in to comment.