From e112db670221b018e99a22efdba7b72930324c8c Mon Sep 17 00:00:00 2001
From: Tim Abbott <tabbott@humbughq.com>
Date: Fri, 2 Nov 2012 17:16:31 -0400
Subject: [PATCH] zephyr_mirror: Clean up old mirroring duplicate suppression.

(imported from commit ada8b4747d329da8b84acc8d3ff4fa2a4d653938)
---
 bots/zephyr_mirror.py | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)

diff --git a/bots/zephyr_mirror.py b/bots/zephyr_mirror.py
index 2f680232..227d0fa0 100755
--- a/bots/zephyr_mirror.py
+++ b/bots/zephyr_mirror.py
@@ -226,16 +226,10 @@ def process_notice(notice, log):
         # skip PING messages
         return
 
-    if isinstance(zsig, str):
-        # Check the loop suppression method of having a zsig ending
-        # with the empty string rendered in blue
-        #
-        # Check for the old loop suppression mechanism of a width
-        # unicode character u'\u200B'.encode("utf-8").
-        if u'\u200B'.encode("utf-8") in zsig or zsig.endswith("@(@color(blue))"):
-            print "%s: zephyr=>humbug: Skipping message from Humbug!" % \
-                (datetime.datetime.now())
-            return
+    if zsig.endswith("@(@color(blue))"):
+        print "%s: zephyr=>humbug: Skipping message we got from Humbug!" % \
+            (datetime.datetime.now())
+        return
 
     zephyr_class = notice.cls.lower()