From 8dcb85fc59e7854c3b2fcc889f4fab441bc0a4d6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 24 Aug 2023 22:46:18 +0200 Subject: [PATCH] Continued: - debug log message added --- fba/commands.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fba/commands.py b/fba/commands.py index 1802c0f..aa8b931 100644 --- a/fba/commands.py +++ b/fba/commands.py @@ -321,6 +321,8 @@ def fetch_blocks(args: argparse.Namespace) -> int: blocking = list() + # c.s isn't part of oliphant's "hidden" blocklists + logger.debug("blocker='%s'", blocker) if blocker != "chaos.social" and not blocklists.is_excluded(blocker): logger.debug("blocker='%s',software='%s'", blocker, software) if software == "pleroma": @@ -1549,9 +1551,8 @@ def recheck_obfuscation(args: argparse.Namespace) -> int: else: logger.warning("Unknown software: domain='%s',software='%s'", row["domain"], row["software"]) + # c.s isn't part of oliphant's "hidden" blocklists logger.debug("row[domain]='%s'", row["domain"]) - - # chaos.social requires special care ... if row["domain"] != "chaos.social" and not blocklists.is_excluded(row["domain"]): logger.debug("Invoking instances.set_total_blocks(%s, %d) ...", row["domain"], len(blocking)) instances.set_last_blocked(row["domain"]) -- 2.39.5