Skip to content

Commit a4a1b26

Browse files
committed
lint
Signed-off-by: Javan Lacerda <javanlacerda@google.com>
1 parent b7360d0 commit a4a1b26

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/clusterfuzz/_internal/remote_task/remote_task_types.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
import abc
1717
import typing
1818

19-
from clusterfuzz._internal.base.tasks import Task
19+
from clusterfuzz._internal.base import tasks
2020

2121

22-
class RemoteTask(Task):
22+
class RemoteTask(tasks.Task):
2323
"""Represents a single ClusterFuzz task to be executed on a remote worker.
2424
2525
This class holds the necessary information to execute a ClusterFuzz command,

src/python/bot/startup/run_bot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ def schedule_utask_mains():
110110
# progression, minimize...
111111
uncreated_tasks = remote_task_gate.RemoteTaskGate().create_utask_main_jobs(
112112
batch_tasks)
113-
logs.info(
114-
f'Sending back %d uncreated tasks to {tasks.PREPROCESS_QUEUE} queue.')
113+
logs.info(f'Sending back {len(uncreated_tasks)} uncreated tasks to '
114+
f'{tasks.PREPROCESS_QUEUE} queue.')
115115
tasks.bulk_add_tasks(
116116
uncreated_tasks, queue=tasks.PREPROCESS_QUEUE, eta_now=True)
117117

0 commit comments

Comments
 (0)