GitHub user sieben opened a pull request:
https://github.com/apache/libcloud/pull/1183
Simplify chained comparisons
## Simplify chained comparisons
### Description
Comparisons could be simplified and easier to read
### Status
- done, ready for review
### Checklist (tick everything that applies)
- [x] [Code
linting](http://libcloud.readthedocs.org/en/latest/development.html#code-style-guide)
(required, can be done after the PR checks)
- [x] Documentation
- [x] [Tests](http://libcloud.readthedocs.org/en/latest/testing.html)
- [x]
[ICLA](http://libcloud.readthedocs.org/en/latest/development.html#contributing-bigger-changes)
(required for bigger changes)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sieben/libcloud simplify_comparisons
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/libcloud/pull/1183.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1183
----
commit 47eec298eb0de7ad616b19ab90dfb7b62f9eae52
Author: Rémy Léone <rleone@...>
Date: 2018-03-16T08:45:59Z
Simplify chained comparisons
----
---