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