]> git.mxchange.org Git - fba.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Thu, 24 Aug 2023 20:46:18 +0000 (22:46 +0200)
committerRoland Häder <roland@mxchange.org>
Thu, 24 Aug 2023 20:46:18 +0000 (22:46 +0200)
- debug log message added

fba/commands.py

index 1802c0fcff444c5251fbdbb7a2fe63ef090c0c97..aa8b93198c7c8fcecc1c6de5f342e638ded103a5 100644 (file)
@@ -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"])