mirror of https://github.com/celery/kombu.git
import kombu now requires Python 2.6
This commit is contained in:
parent
44bacd08ef
commit
eb1caf3fbd
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue