zephyr_mirror: Clean up unnecessary logic in process_notice.

(imported from commit 28599789016fd1006c2de4d5ddc3cf1f10baa47f)
This commit is contained in:
Tim Abbott 2012-11-27 10:17:52 -05:00
parent dbeb107aaf
commit 975c8ef5b0

View file

@ -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