From cf9252527020f357cd3baa40748cb608499ef050 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Fri, 2 Nov 2012 17:07:20 -0400 Subject: [PATCH] zephyr_mirror: Don't force-lower-case instance names. (imported from commit 5b9b450ae7666a9c74704a7bd494c57a47578fe7) --- bots/zephyr_mirror.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bots/zephyr_mirror.py b/bots/zephyr_mirror.py index b725ca3..df93a06 100755 --- a/bots/zephyr_mirror.py +++ b/bots/zephyr_mirror.py @@ -103,10 +103,10 @@ def send_humbug(zeph): if zeph['type'] == 'stream': # Forward messages sent to -c foo -i bar to stream bar subject "instance" if zeph["stream"] == "message": - message['stream'] = zeph['subject'] + message['stream'] = zeph['subject'].lower() message['subject'] = "instance %s" % (zeph['stream']) elif zeph["stream"] == "tabbott-test5": - message['stream'] = zeph['subject'] + message['stream'] = zeph['subject'].lower() message['subject'] = "test instance %s" % (zeph['stream']) else: message["stream"] = zeph["stream"] @@ -271,7 +271,7 @@ def process_notice(notice, log): zeph['type'] = 'stream' zeph['stream'] = zephyr_class if notice.instance != "": - zeph['subject'] = notice.instance.lower() + zeph['subject'] = notice.instance else: zeph["subject"] = "personal"