From: Roland Häder Date: Sat, 10 Jun 2023 11:42:20 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f2943f12ef3f5c396873e56c4f52eb31843086d2;p=fba.git Continued: - first 'rows' was re-assigned with new values, which is typical for Python - yet still this hasn't fixed the recursion error --- diff --git a/fba/commands.py b/fba/commands.py index 849e13c..3f5b435 100644 --- a/fba/commands.py +++ b/fba/commands.py @@ -163,12 +163,12 @@ def fetch_blocks(args: argparse.Namespace): elif software == "friendica" or software == "misskey": print(f"INFO: blocker='{blocker}',software='{software}'") if software == "friendica": - rows = friendica.fetch_blocks(blocker) + blocks = friendica.fetch_blocks(blocker) elif software == "misskey": - rows = misskey.fetch_blocks(blocker) + blocks = misskey.fetch_blocks(blocker) - print(f"INFO: Checking {len(rows.items())} entries from blocker='{blocker}',software='{software}' ...") - for block_level, blocklist in rows.items(): + print(f"INFO: Checking {len(blocks.items())} entries from blocker='{blocker}',software='{software}' ...") + for block_level, blocklist in blocks.items(): # DEBUG: print("DEBUG: blocker,block_level,blocklist():", blocker, block_level, len(blocklist)) block_level = tidyup.domain(block_level) # DEBUG: print("DEBUG: AFTER-block_level:", block_level)