Skip to content

Commit 16d4f05

Browse files
neubigtony
andcommitted
Apply suggestion from @tony
Co-authored-by: Tony Narlock <tony@git-pull.com>
1 parent 5cd3ccf commit 16d4f05

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/libtmux/neo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def _refresh(
180180
def get_output_format() -> tuple[list[str], str]:
181181
"""Return field names and tmux format string for all Obj fields."""
182182
# Exclude 'server' - it's a Python object, not a tmux format variable
183-
formats = [f for f in Obj.__dataclass_fields__.keys() if f != "server"]
183+
formats = [f for f in Obj.__dataclass_fields__ if f != "server"]
184184
tmux_formats = [f"#{{{f}}}{FORMAT_SEPARATOR}" for f in formats]
185185
return formats, "".join(tmux_formats)
186186

0 commit comments

Comments
 (0)