From b87524bb8dc5e9dedf99d1cd6d7c49ccc449956b Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Fri, 12 Oct 2012 17:01:15 -0400 Subject: [PATCH] zephyr-mirror: Deconfuse the --forward-from-humbug option. (imported from commit 526b9253c550dbbe41881f5c6709ce2f09cbe241) --- zephyr_mirror.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/zephyr_mirror.py b/zephyr_mirror.py index 55bc348..fd0711d 100755 --- a/zephyr_mirror.py +++ b/zephyr_mirror.py @@ -35,9 +35,9 @@ parser.add_option('--no-forward-personals', default=True, action='store_false') parser.add_option('--forward-from-humbug', - dest='forward_to_humbug', - default=True, - action='store_false') + dest='forward_from_humbug', + default=False, + action='store_true') parser.add_option('--no-auto-subscribe', dest='auto_subscribe', default=True, @@ -388,7 +388,7 @@ def parse_zephyr_subs(verbose=False): zephyr_subscriptions.add((cls, instance, recipient)) return zephyr_subscriptions -if options.forward_to_humbug: - zephyr_to_humbug(options) -else: +if options.forward_from_humbug: humbug_to_zephyr(options) +else: + zephyr_to_humbug(options)