From 54c438d8d3ebe7903e4fdfd9f840b8fcc89696fe Mon Sep 17 00:00:00 2001 From: Mark Haines Date: Tue, 18 Nov 2014 16:46:12 +0000 Subject: [PATCH] Remove unused variable --- synapse/handlers/message.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synapse/handlers/message.py b/synapse/handlers/message.py index 081030dbb8..de70486b29 100644 --- a/synapse/handlers/message.py +++ b/synapse/handlers/message.py @@ -339,7 +339,7 @@ class MessageHandler(BaseHandler): as_event=True, ) presence.append(member_presence) - except Exception as e: + except Exception: logger.exception("Failed to get member presence of %r", m.user_id )