summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorJorik Schellekens <joriks@matrix.org>2019-08-05 13:56:04 +0100
committerJorik Schellekens <joriks@matrix.org>2019-08-05 13:56:04 +0100
commit50964d2341d658df8ffa05880e0a1e1c0cc07e65 (patch)
treed001d5206fa6c30ad4e93dd6f077739e1e7faa61 /synapse
parentRefactor return value so we don't create identical lists each time. (diff)
downloadsynapse-50964d2341d658df8ffa05880e0a1e1c0cc07e65.tar.xz
String concatenation without the '+'
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,
                 }
             )