mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-07 17:38:13 +08:00
[cleanup] Fix some linting issues
This commit is contained in:
@@ -60,7 +60,7 @@ class ORM(Broker):
|
||||
|
||||
def dequeue(self):
|
||||
tasks = self.get_connection().filter(key=self.list_key, lock__lt=_timeout())[
|
||||
0 : Conf.BULK
|
||||
0: Conf.BULK
|
||||
]
|
||||
if tasks:
|
||||
task_list = []
|
||||
|
||||
Reference in New Issue
Block a user