print_flags.py: clean up

always ensure current impl of something is the best!

old-commit-hash: 888b38c3db
pull/32199/head
Shane Smiskol 12 months ago
parent 43cac3cf24
commit 7b293f43c9
  1. 6
      selfdrive/debug/print_flags.py

@ -10,9 +10,5 @@ for brand in BRANDS:
if len(all_flags): if len(all_flags):
print(brand.__module__.split('.')[-2].upper() + ':') print(brand.__module__.split('.')[-2].upper() + ':')
for flag in sorted(all_flags): for flag in sorted(all_flags):
print(f' {flag.name:<24}: ', end='') print(f' {flag.name:<24}:', {platform.name for platform in brand.with_flags(flag)})
for platform in brand:
if platform.config.flags & flag:
print(platform.name, end=', ')
print()
print() print()

Loading…
Cancel
Save