zephyr_mirror: Use %me% rather than guessing the current Zephyr user.

(imported from commit 8c04581c4327a44515b9ce1b938c69675964c6c0)
This commit is contained in:
Tim Abbott 2012-11-02 16:40:27 -04:00
parent 3fd2281c40
commit 53f75affe7

View file

@ -305,9 +305,9 @@ def zephyr_to_humbug(options):
if options.forward_class_messages:
update_subscriptions_from_humbug()
if options.forward_personals:
subs.add(("message", "*", options.user + "@ATHENA.MIT.EDU"))
subs.add(("message", "*", "%me%"))
if subscribed_to_mail_messages():
subs.add(("mail", "inbox", options.user + "@ATHENA.MIT.EDU"))
subs.add(("mail", "inbox", "%me%"))
if options.resend_log:
with open('/mit/tabbott/Private/zephyrs', 'r') as log: