Import python3 version of range

This commit is contained in:
Benjamin Bach
2017-07-09 21:44:25 +02:00
parent ab48bad0f6
commit 5ea55e3718
6 changed files with 20 additions and 2 deletions
+1
View File
@@ -11,6 +11,7 @@ myPath = os.path.dirname(os.path.abspath(__file__))
sys.path.insert(0, myPath + '/../')
from django_q.cluster import Cluster, Sentinel, pusher, worker, monitor, save_task
from django_q.compat import range
from django_q.humanhash import DEFAULT_WORDLIST, uuid
from django_q.tasks import fetch, fetch_group, async, result, result_group, count_group, delete_group, queue_size
from django_q.models import Task, Success