fixes for Python 2

This commit is contained in:
Ilan Steemers
2015-06-24 17:45:01 +02:00
parent 0798c42354
commit 2c9d53e6b2
2 changed files with 3 additions and 2 deletions

View File

@@ -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

View File

@@ -1,2 +1,3 @@
[pytest]
DJANGO_SETTINGS_MODULE=django_q.tests.settings
django_find_project = false