From: Roland Häder Date: Thu, 30 Nov 2023 04:21:36 +0000 (+0100) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=aded326c8615455282b4a6c0d28595cf718b9752;p=fba.git Continued: - skip blacklisted domains (aka. instances) --- diff --git a/fba/commands.py b/fba/commands.py index 88095c3..b5c1acf 100644 --- a/fba/commands.py +++ b/fba/commands.py @@ -1502,6 +1502,9 @@ def update_nodeinfo(args: argparse.Namespace) -> int: if not args.force and instances.is_recent(row["domain"], "last_nodeinfo"): logger.debug("row[domain]='%s' has been recently checked - SKIPPED!", row["domain"]) continue + elif blacklist.is_blacklisted(row["domain"]): + logger.debug("row[domain]='%s' is blacklisted - SKIPPED!", row["domain"]) + continue try: logger.info("Checking nodeinfo for row[domain]='%s',row[software]='%s' (%s%%) ...", row["domain"], row["software"], "{:5.1f}".format(cnt / len(domains) * 100))