Document why we need Requests > 0.12
(imported from commit 9c719d1bdd6446cedbb936449ad0225f387a0100)
This commit is contained in:
parent
97722d5eb3
commit
3fd2281c40
1 changed files with 1 additions and 0 deletions
|
@ -8,6 +8,7 @@ import urlparse
|
|||
import sys
|
||||
|
||||
# Check that we have a recent enough version
|
||||
# Older versions don't provide the 'json' attribute on responses.
|
||||
assert(requests.__version__ > '0.12')
|
||||
|
||||
class HumbugAPI():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue