From 355e15e4c5f02771a973dfb9d5a1f0179eabea07 Mon Sep 17 00:00:00 2001 From: github-actions Date: Fri, 23 Aug 2024 21:35:14 -0400 Subject: [PATCH] remove unneeded debug statements --- bbot/scanner/scanner.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/bbot/scanner/scanner.py b/bbot/scanner/scanner.py index d5a564f029..ba550f2177 100644 --- a/bbot/scanner/scanner.py +++ b/bbot/scanner/scanner.py @@ -656,14 +656,14 @@ def modules_status(self, _log=False): scan_active_status.append(f"scan.modules_finished: {self.modules_finished}") for m in sorted_modules: running = m.running - scan_active_status.append(f" {m}.finished: {m.finished}") - scan_active_status.append(f" running: {running}") + scan_active_status.append(f" {m}:") + # scan_active_status.append(f" running: {running}") if running: - scan_active_status.append(f" tasks:") + # scan_active_status.append(f" tasks:") for task in list(m._task_counter.tasks.values()): - scan_active_status.append(f" - {task}:") - scan_active_status.append(f" incoming_queue_size: {m.num_incoming_events}") - scan_active_status.append(f" outgoing_queue_size: {m.outgoing_event_queue.qsize()}") + scan_active_status.append(f" - {task}:") + # scan_active_status.append(f" incoming_queue_size: {m.num_incoming_events}") + # scan_active_status.append(f" outgoing_queue_size: {m.outgoing_event_queue.qsize()}") for line in scan_active_status: self.debug(line)