Document why we need Requests > 0.12

(imported from commit 9c719d1bdd6446cedbb936449ad0225f387a0100)
This commit is contained in:
Keegan McAllister 2012-11-01 17:50:38 -04:00
parent 97722d5eb3
commit 3fd2281c40

View file

@ -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():