diff options
author | Jorik Schellekens <joriks@matrix.org> | 2019-07-17 14:00:22 +0100 |
---|---|---|
committer | Jorik Schellekens <joriks@matrix.org> | 2019-07-23 16:05:58 +0100 |
commit | a293759d8c0cfd93578cea17e5a74ae828530087 (patch) | |
tree | 5dbf4bfa97103018f325a1db199bc2b0eb9fa55d | |
parent | Isort of ran out of puns for this one. (diff) | |
download | synapse-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.py | 2 |
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() ] |