else:
logger.warning("Unknown software: blocker='%s',software='%s'", blocker, software)
- logger.debug("Invoking instances.set_total_blocks(%s, %d) ...", blocker, len(blocking))
- instances.set_total_blocks(blocker, blocking)
+ logger.debug("blocker='%s'", blocker)
+ if blocker != "chaos.social":
+ logger.debug("Invoking instances.set_total_blocks(%s, %d) ...", blocker, len(blocking))
+ instances.set_total_blocks(blocker, blocking)
logger.info("Checking %d entries from blocker='%s',software='%s' ...", len(blocking), blocker, software)
blockdict = list()
instances.set_total_blocks(blocker, blocking)
logger.debug("blocklist[silenced]()=%d,blocklist[reject]()=%d", len(blocklist["silenced"]), len(blocklist["reject"]))
- blockdict = list()
if len(blocking) > 0:
+ blockdict = list()
for block_level in blocklist:
logger.info("block_level='%s' has %d row(s)", block_level, len(blocklist[block_level]))
if reject_reports:
utils.process_block(block["blocker"], domain, None, "reject_reports")
- logger.debug("Invoking instances.set_total_blocks(%s, domains()=%d) ...", block["blocker"], len(domains))
- instances.set_total_blocks(block["blocker"], domains)
+ logger.debug("block[blocker]='%s'", block["blocker"])
+ if block["blocker"] != "chaos.social":
+ logger.debug("Invoking instances.set_total_blocks(%s, domains()=%d) ...", block["blocker"], len(domains))
+ instances.set_total_blocks(block["blocker"], domains)
logger.debug("Checking if blocker='%s' has pending updates ...", block["blocker"])
if instances.has_pending(block["blocker"]):
else:
logger.warning("Unknown sofware: domain='%s',software='%s'", row["domain"], row["software"])
- logger.debug("Invoking instances.set_total_blocks(%s, %d) ...", row["domain"], len(blocking))
- instances.set_total_blocks(row["domain"], blocking)
+ logger.debug("row[domain]='%s'", row["domain"])
+ if row["domain"] != "chaos.social":
+ logger.debug("Invoking instances.set_total_blocks(%s, %d) ...", row["domain"], len(blocking))
+ instances.set_total_blocks(row["domain"], blocking)
logger.info("Checking %d block(s) from domain='%s' ...", len(blocking), row["domain"])
obfuscated = 0