From 68d79dd2533be59354a597bb546011d555e6179b Mon Sep 17 00:00:00 2001 From: Justin Warren Date: Tue, 20 Dec 2022 14:56:24 +1100 Subject: [PATCH] Removed debugging var from apply_mergeplan() --- bin/fediblock_sync.py | 1 - 1 file changed, 1 deletion(-) diff --git a/bin/fediblock_sync.py b/bin/fediblock_sync.py index b49a327..0398c18 100755 --- a/bin/fediblock_sync.py +++ b/bin/fediblock_sync.py @@ -141,7 +141,6 @@ def apply_mergeplan(oldblock: dict, newblock: dict, mergeplan: str='max') -> dic # append it to the existing comment, joined with a newline # unless the comment is None or an empty string for key in ['public_comment', 'private_comment']: - key = 'public_comment' # convenience variable if oldblock[key] != newblock[key] and newblock[key] not in ['', None]: blockdata[key] = '\n'.join([oldblock[key], newblock[key]])