From 975c8ef5b0c695f1561fe329b8d0f9c13e7b8787 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Tue, 27 Nov 2012 10:17:52 -0500 Subject: [PATCH] zephyr_mirror: Clean up unnecessary logic in process_notice. (imported from commit 28599789016fd1006c2de4d5ddc3cf1f10baa47f) --- bots/zephyr_mirror_backend.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bots/zephyr_mirror_backend.py b/bots/zephyr_mirror_backend.py index 4f804f5..f4bdfdc 100755 --- a/bots/zephyr_mirror_backend.py +++ b/bots/zephyr_mirror_backend.py @@ -244,8 +244,7 @@ def process_notice(notice, log): # Drop messages not to the listed subscriptions if is_personal and not options.forward_personals: return - if (zephyr_class not in current_zephyr_subs) and not \ - (is_personal and options.forward_personals): + if (zephyr_class not in current_zephyr_subs) and not is_personal: logger.debug("Skipping ... %s/%s/%s" % (zephyr_class, notice.instance, is_personal)) return