flake8 complains about:
gdb/testsuite/gdb.server/fileio-packets.py:67:9: E741 ambiguous variable name 'l'
I think the variable is unnecessary anyway, inline the expression in the
format string.
Change-Id: Ib294f58e663e79e65de058139a770d572bafb282
Approved-By: Tom Tromey <tom@tromey.com>
or buf[3] != ord(";")
or len(buf) != 68
):
- l = len(buf)
- print(f"decode_stat_reply failed: {buf}\t(length = {l})")
+ print(f"decode_stat_reply failed: {buf}\t(length = {len(buf)})")
return None
# Discard the 'F40;' prefix. The rest is the 64 bytes of data to