8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
.format()
1 parent 94d59c2 commit af50745Copy full SHA for af50745
src/libtmux/common.py
@@ -419,13 +419,14 @@ def has_minimum_version(raises: bool = True) -> bool:
419
"""
420
if get_version() < LooseVersion(TMUX_MIN_VERSION):
421
if raises:
422
- raise exc.VersionTooLow(
+ msg = (
423
"libtmux only supports tmux {} and greater. This system"
424
" has {} installed. Upgrade your tmux to use libtmux.".format(
425
TMUX_MIN_VERSION,
426
get_version(),
427
- ),
+ )
428
)
429
+ raise exc.VersionTooLow(msg)
430
else:
431
return False
432
return True
0 commit comments