From 13ebd229c11dd47e8e1e31ca061ac2502fcbdbe8 Mon Sep 17 00:00:00 2001
From: Tim Abbott <tabbott@humbughq.com>
Date: Tue, 27 Nov 2012 14:57:53 -0500
Subject: [PATCH] get_updates: Replace the "mirror" argument with checking
"client".
(imported from commit bd84c2c7a456de8ea7ec35eaf76b5bf8647ca61a)
---
bots/zephyr_mirror_backend.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/bots/zephyr_mirror_backend.py b/bots/zephyr_mirror_backend.py
index 414524db..d6853de8 100755
--- a/bots/zephyr_mirror_backend.py
+++ b/bots/zephyr_mirror_backend.py
@@ -540,8 +540,7 @@ def humbug_to_zephyr(options):
logger.info("Starting syncing messages.")
while True:
try:
- humbug_client.call_on_each_message(maybe_forward_to_zephyr,
- options={"mirror": 'zephyr_mirror'})
+ humbug_client.call_on_each_message(maybe_forward_to_zephyr)
except Exception:
logger.exception("Error syncing messages:")
time.sleep(1)