mirror of
https://github.com/django-q2/django-q2.git
synced 2026-09-21 05:58:11 +08:00
15 lines
222 B
Python
15 lines
222 B
Python
from __future__ import absolute_import
|
|
"""
|
|
Compatibility layer.
|
|
|
|
Intentionally replaces use of python-future
|
|
"""
|
|
|
|
# https://github.com/Koed00/django-q/issues/4
|
|
|
|
try:
|
|
range = xrange
|
|
except NameError:
|
|
range = range
|
|
|