import kombu now requires Python 2.6

This commit is contained in:
Ask Solem 2013-09-12 17:34:11 +01:00
parent 44bacd08ef
commit eb1caf3fbd
1 changed files with 4 additions and 4 deletions

View File

@ -14,12 +14,12 @@ import os
import sys import sys
if sys.version_info < (2, 5): # pragma: no cover if sys.version_info < (2, 5): # pragma: no cover
if sys.version_info >= (2, 4): if sys.version_info >= (2, 5):
raise Exception( raise Exception(
'Python 2.4 is not supported by this version. ' 'Python 2.5 is not supported by this version. '
'Please use Kombu versions 1.x.') 'Please use Kombu versions 2.x.')
else: else:
raise Exception('Kombu requires Python versions 2.5 or later.') raise Exception('Kombu requires Python versions 2.6 or later.')
STATICA_HACK = True STATICA_HACK = True
globals()['kcah_acitats'[::-1].upper()] = False globals()['kcah_acitats'[::-1].upper()] = False