summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-06-26 14:03:27 +0100
committerErik Johnston <erik@matrix.org>2017-06-26 14:03:27 +0100
commit1bce3e6b35eb3acba335c69c12ec06da9c7051df (patch)
treea1ee3fc25db0d2962acebd44098540bff9e0a2b0 /synapse
parentMerge branch 'develop' of github.com:matrix-org/synapse into erikj/ensure_rou... (diff)
downloadsynapse-1bce3e6b35eb3acba335c69c12ec06da9c7051df.tar.xz
Remove unused variables
Diffstat (limited to '')
-rw-r--r--synapse/handlers/message.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/message.py b/synapse/handlers/message.py
index 5585ee85cf..24c9ffdb20 100644
--- a/synapse/handlers/message.py
+++ b/synapse/handlers/message.py
@@ -502,7 +502,7 @@ class MessageHandler(BaseHandler):
         # Ensure that we can round trip before trying to persist in db
         try:
             dump = ujson.dumps(event.content)
-            load = ujson.loads(dump)
+            ujson.loads(dump)
         except:
             logger.exception("Failed to encode content: %r", event.content)
             raise