Skip to content

Commit 89b7370

Browse files
committed
Fix pylint complaints
1 parent c7ba904 commit 89b7370

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

can/interfaces/socketcan/utils.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,12 @@ def find_available_interfaces() -> List[str]:
5858
try:
5959
output_json = json.loads(output_str)
6060
except json.JSONDecodeError:
61-
log.exception(f"Failed to parse ip link JSON output: {output_str}")
61+
log.exception(f"Failed to parse ip link JSON output: %s", output_str)
6262
return []
6363

6464
log.debug(
65-
f"find_available_interfaces(): detected these interfaces (before filtering): {output_json}"
65+
f"find_available_interfaces(): detected these interfaces (before filtering): %s",
66+
output_json,
6667
)
6768

6869
interfaces = [i["ifname"] for i in output_json if i["link_type"] == "can"]

0 commit comments

Comments
 (0)