From a2f3816fdc49e1e00c000d7e0f70d2afbbc46435 Mon Sep 17 00:00:00 2001 From: Luke Faraone Date: Thu, 17 Jan 2013 13:45:36 -0500 Subject: [PATCH] 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) --- humbug/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/humbug/__init__.py b/humbug/__init__.py index 6ba4f20..78f15c9 100644 --- a/humbug/__init__.py +++ b/humbug/__init__.py @@ -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/"