Message ID | 20250108213726.260664-5-anna@kernel.org (mailing list archive) |
---|---|
State | Handled Elsewhere |
Headers | show |
Series | rpcctl: Various Improvements | expand |
diff --git a/tools/rpcctl/rpcctl.py b/tools/rpcctl/rpcctl.py index c6e73aad8bb9..435f4be6623a 100755 --- a/tools/rpcctl/rpcctl.py +++ b/tools/rpcctl/rpcctl.py @@ -37,7 +37,7 @@ def read_info_file(path): res = collections.defaultdict(int) try: with open(path) as info: - lines = [l.split("=", 1) for l in info if "=" in l] + lines = [line.split("=", 1) for line in info if "=" in line] res.update({key: int(val.strip()) for (key, val) in lines}) finally: return res