From dcca90cfa164f5cfead4e0fedf821a0b78ed3462 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sat, 27 Jul 2024 23:51:00 +0200 Subject: [PATCH] Continued: - removed redundant utils.deobfuscate() invocation --- fba/networks/pleroma.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/fba/networks/pleroma.py b/fba/networks/pleroma.py index 9c44e88..87c1049 100644 --- a/fba/networks/pleroma.py +++ b/fba/networks/pleroma.py @@ -131,14 +131,6 @@ def fetch_blocks(domain: str) -> list: elif validators.domain(blocked, rfc_2782=True) and blacklist.is_blacklisted(blocked): logger.debug("blocked='%s' is blacklisted - SKIPPED!") continue - - logger.debug("Invoking utils.deobfuscate(%s, %s) ...", blocked, domain) - blocked = utils.deobfuscate(blocked, domain) - logger.debug("blocked[%s]='%s' - DEOBFUSCATED!", type(blocked), blocked) - - if blocked in [None, ""]: - logger.warning("instance[host]='%s' is None or empty after tidyup.domain() - SKIPPED!", instance["host"]) - continue elif blocked.find("*") == -1 and blocked.find("?") == -1 and not domain_helper.is_wanted(blocked): logger.debug("blocked='%s' is not wanted - SKIPPED!", blocked) continue -- 2.39.5