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

Don't compare integers to None in Location.__lt__ #117

Merged
merged 1 commit into from
Apr 18, 2015

Conversation

smspillaz
Copy link
Contributor

Check if the character value is None and if so substitute it
with -1 when performing comparisons.

Fixes #116

@landscape-bot
Copy link

Code Health
Repository health decreased by 0.03% when pulling 2fe341c on smspillaz:fix-116 into 2839602 on landscapeio:master.

Check if the character value is None and if so substitute it
with -1 when performing comparisons.

Fixes prospector-dev#116
@landscape-bot
Copy link

Code Health
Code quality remained the same when pulling a90242a on smspillaz:fix-116 into 2839602 on landscapeio:master.

carlio added a commit that referenced this pull request Apr 18, 2015
Don't compare integers to None in Location.__lt__
@carlio carlio merged commit ead5e53 into prospector-dev:master Apr 18, 2015
@carlio
Copy link
Member

carlio commented Apr 18, 2015

Great, thanks! I'll make a small hotfix release today

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.

Location.__lt__ throws when comparing message with character at -1 with other messages
3 participants