summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
Diffstat (limited to 'synapse')
-rw-r--r--synapse/handlers/device.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/synapse/handlers/device.py b/synapse/handlers/device.py
index ff198d0a3e..f658d4baf6 100644
--- a/synapse/handlers/device.py
+++ b/synapse/handlers/device.py
@@ -512,7 +512,8 @@ class DeviceListEduUpdater(object):
             opentracing.set_tag("error", True)
             opentracing.log_kv(
                 {
-                    "message": "Got a device list update edu from a user and device which does not match the origin of the request.",
+                    "message": "Got a device list update edu from a user and "
+                    "device which does not match the origin of the request.",
                     "user_id": user_id,
                     "device_id": device_id,
                 }
@@ -527,7 +528,7 @@ class DeviceListEduUpdater(object):
             opentracing.log_kv(
                 {
                     "message": "Got an update from a user for which "
-                    + "we don't share any rooms",
+                    "we don't share any rooms",
                     "other user_id": user_id,
                 }
             )