Require requests version to be >= 0.12.1.
My previous commit (fbdc092029bbafea716e27fbb99fec58a6f24392) incorrectly specified that you must have a version of python-requests greater than 0.12.1, when it should be a >= relation since 0.12.1 is sufficient. (imported from commit 9f716af6dfe0ce17d982fc22d507f144e9543bec)
This commit is contained in:
parent
d6ec614ca6
commit
a2f3816fdc
|
@ -34,7 +34,7 @@ from ConfigParser import SafeConfigParser
|
|||
|
||||
# Check that we have a recent enough version
|
||||
# Older versions don't provide the 'json' attribute on responses.
|
||||
assert(requests.__version__ > '0.12.1')
|
||||
assert(requests.__version__ >= '0.12.1')
|
||||
# And versions in the 1.x series aren't backwards compatible
|
||||
assert(requests.__version__ < '1.0.0')
|
||||
API_VERSTRING = "/api/v1/"
|
||||
|
|
Loading…
Reference in a new issue