Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Fix incorrect version check #155

Closed
wants to merge 1 commit into from
Closed

Fix incorrect version check #155

wants to merge 1 commit into from

Conversation

nknapp
Copy link

@nknapp nknapp commented Jul 22, 2016

This is a cherry-pick of commit 061284b
by Martin Gagern to fix #149

The original commit message is:

As it stands, the version check will ensure that the major version is
non-negative AND that the minor version is at least 10. Current versions,
with major version 4 or 5 but single-digit minor versions, are not matched
by this. Instead we can check whether the major version is at least 1 OR
the minor version is at least 10, assuming in the latter case that the major
version cannot be less than 0 so we don't have to check for that.

As it stands, the version check will ensure that the major version is
non-negative AND that the minor version is at least 10.  Current versions,
with major version 4 or 5 but single-digit minor versions, are not matched
by this.  Instead we can check whether the major version is at least 1 OR
the minor version is at least 10, assuming in the latter case that the major
version cannot be less than 0 so we don't have to check for that.
@kriskowal kriskowal mentioned this pull request Nov 2, 2016
@kriskowal
Copy link
Owner

See #159

@kriskowal kriskowal closed this Nov 2, 2016
@kriskowal
Copy link
Owner

(Thank you @nknapp, my apologies for my lack of vigilance on this repository)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants