zephyr-mirror: Deconfuse the --forward-from-humbug option.

(imported from commit 526b9253c550dbbe41881f5c6709ce2f09cbe241)
This commit is contained in:
Tim Abbott 2012-10-12 17:01:15 -04:00
parent 796ccaad0d
commit b87524bb8d

View file

@ -35,9 +35,9 @@ parser.add_option('--no-forward-personals',
default=True, default=True,
action='store_false') action='store_false')
parser.add_option('--forward-from-humbug', parser.add_option('--forward-from-humbug',
dest='forward_to_humbug', dest='forward_from_humbug',
default=True, default=False,
action='store_false') action='store_true')
parser.add_option('--no-auto-subscribe', parser.add_option('--no-auto-subscribe',
dest='auto_subscribe', dest='auto_subscribe',
default=True, default=True,
@ -388,7 +388,7 @@ def parse_zephyr_subs(verbose=False):
zephyr_subscriptions.add((cls, instance, recipient)) zephyr_subscriptions.add((cls, instance, recipient))
return zephyr_subscriptions return zephyr_subscriptions
if options.forward_to_humbug: if options.forward_from_humbug:
zephyr_to_humbug(options)
else:
humbug_to_zephyr(options) humbug_to_zephyr(options)
else:
zephyr_to_humbug(options)