[cleanup] Remove python2 artifacts

This commit is contained in:
Bastien Vallet
2020-06-10 11:48:31 +02:00
parent 142af91fbe
commit 68d95a2924
10 changed files with 15 additions and 21 deletions
+2 -8
View File
@@ -1,9 +1,3 @@
# Future
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
import ast
# Standard
@@ -36,7 +30,7 @@ from django_q.signing import SignedPackage, BadSignature
from django_q.status import Stat, Status
class Cluster(object):
class Cluster:
def __init__(self, broker=None):
self.broker = broker or get_broker()
self.sentinel = None
@@ -120,7 +114,7 @@ class Cluster(object):
return self.start_event is None and self.stop_event is None and self.sentinel
class Sentinel(object):
class Sentinel:
def __init__(
self,
stop_event,