Component: python/vyos/firewall.py
Description:
Follow-up cleanup split out of PR #5372 (T9157, fib-type match) at sarthurdev's request — that PR bundled unrelated ruff findings in python/vyos/firewall.py with the fib
feature because it happened to touch the same file. Fixes, purely mechanical, no behavior change:
- fqdn_resolve(): bare except: → except gaierror: (E722)
- != None → is not None in the geoip inverse-match check (E711)
- 3× extraneous f prefix on string literals without placeholders (F541): hook_name = f'name', output.append(f'pkttype ' + ...), output.append(f'last')
Test plan: ruff check python/vyos/firewall.py passes clean; python3 -m py_compile.