Skip to content

Handle next-X.Y versions #172

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Jan 25, 2019
Merged

Conversation

sloria
Copy link
Contributor

@sloria sloria commented Jan 25, 2019

tmuxp currently crashes when used with
tmux next-2.9 (the latest Homebrew release).

TypeError: '<' not supported between instances of 'str' and 'int'

This patch avoids the error by making get_version()
strip the "next-" part of the version.

closes tmux-python/tmuxp#449

tmuxp currently crashes when used with
tmux next-2.9 (the latest Homebrew release).

```
TypeError: '<' not supported between instances of 'str' and 'int'
```

This patch avoids the error by making `get_version()`
strip the "next-" part of the version.

closes tmux-python/tmuxp#449
@codecov-io
Copy link

codecov-io commented Jan 25, 2019

Codecov Report

Merging #172 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #172   +/-   ##
=======================================
  Coverage   79.49%   79.49%           
=======================================
  Files           8        8           
  Lines         863      863           
=======================================
  Hits          686      686           
  Misses        177      177
Impacted Files Coverage Δ
libtmux/common.py 86.5% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9097c31...f870a84. Read the comment docs.

@tony tony merged commit f9491e9 into tmux-python:master Jan 25, 2019
@tony
Copy link
Member

tony commented Jan 25, 2019

@sloria Thank you!

@sloria sloria deleted the handle-next-versions branch January 25, 2019 04:09
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tmux version "next-2.9": TypeError: '<' not supported between instances of 'str' and 'int'
3 participants