summary refs log tree commit diff
diff options
context:
space:
mode:
authorJorik Schellekens <joriks@matrix.org>2019-07-17 14:00:22 +0100
committerJorik Schellekens <joriks@matrix.org>2019-07-23 16:05:58 +0100
commita293759d8c0cfd93578cea17e5a74ae828530087 (patch)
tree5dbf4bfa97103018f325a1db199bc2b0eb9fa55d
parentIsort of ran out of puns for this one. (diff)
downloadsynapse-a293759d8c0cfd93578cea17e5a74ae828530087.tar.xz
Though style is subjective it depends on a ruthless objectivity: you either have it, or you don't·
-rw-r--r--synapse/federation/sender/per_destination_queue.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/federation/sender/per_destination_queue.py b/synapse/federation/sender/per_destination_queue.py
index 734a908ca2..f0b910b446 100644
--- a/synapse/federation/sender/per_destination_queue.py
+++ b/synapse/federation/sender/per_destination_queue.py
@@ -232,7 +232,7 @@ class PerDestinationQueue(object):
                         # If there is no span context then we are either blacklisting
                         # this destination or we are not tracing
                         if not span_context == {}:
-                            if not "references" in span_context:
+                            if "references" not in span_context:
                                 span_context["references"] = [
                                     opentracing.active_span_context_as_string()
                                 ]