mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-03 20:28:12 +08:00
fixes for Python 2
This commit is contained in:
+2
-2
@@ -383,8 +383,8 @@ class Status(object):
|
|||||||
|
|
||||||
|
|
||||||
class Stat(Status):
|
class Stat(Status):
|
||||||
def __init__(self, sentinel, message=None):
|
def __init__(self, sentinel, message=None):
|
||||||
super().__init__(sentinel.parent_pid)
|
super(Stat, self).__init__(sentinel.parent_pid)
|
||||||
if message:
|
if message:
|
||||||
sentinel.status = message
|
sentinel.status = message
|
||||||
self.tob = sentinel.tob
|
self.tob = sentinel.tob
|
||||||
|
|||||||
@@ -1,2 +1,3 @@
|
|||||||
[pytest]
|
[pytest]
|
||||||
DJANGO_SETTINGS_MODULE=django_q.tests.settings
|
DJANGO_SETTINGS_MODULE=django_q.tests.settings
|
||||||
|
django_find_project = false
|
||||||
Reference in New Issue
Block a user