From eb1caf3fbd1fe9ba68acfc53a0ba40e9238ac12e Mon Sep 17 00:00:00 2001 From: Ask Solem Date: Thu, 12 Sep 2013 17:34:11 +0100 Subject: [PATCH] import kombu now requires Python 2.6 --- kombu/__init__.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kombu/__init__.py b/kombu/__init__.py index 14b37508..aca461d7 100644 --- a/kombu/__init__.py +++ b/kombu/__init__.py @@ -14,12 +14,12 @@ import os import sys if sys.version_info < (2, 5): # pragma: no cover - if sys.version_info >= (2, 4): + if sys.version_info >= (2, 5): raise Exception( - 'Python 2.4 is not supported by this version. ' - 'Please use Kombu versions 1.x.') + 'Python 2.5 is not supported by this version. ' + 'Please use Kombu versions 2.x.') else: - raise Exception('Kombu requires Python versions 2.5 or later.') + raise Exception('Kombu requires Python versions 2.6 or later.') STATICA_HACK = True globals()['kcah_acitats'[::-1].upper()] = False