Skip to content

Commit 1be3180

Browse files
committed
chore: Fix raise for older tmux versions
1 parent 1eee872 commit 1be3180

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

libtmux/window.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -477,9 +477,8 @@ def split_window(
477477

478478
# tmux < 1.7. This is added in 1.7.
479479
if pane.stderr:
480-
raise exc.LibTmuxException(pane.stderr)
481480
if "pane too small" in pane.stderr:
482-
pass
481+
raise exc.LibTmuxException(pane.stderr)
483482

484483
raise exc.LibTmuxException(pane.stderr, self._info, self.panes)
485484
else:

0 commit comments

Comments
 (0)