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