From a293759d8c0cfd93578cea17e5a74ae828530087 Mon Sep 17 00:00:00 2001 From: Jorik Schellekens Date: Wed, 17 Jul 2019 14:00:22 +0100 Subject: [PATCH] =?UTF-8?q?Though=20style=20is=20subjective=20it=20depends?= =?UTF-8?q?=20on=20a=20ruthless=20objectivity:=20you=20either=20have=20it,?= =?UTF-8?q?=20or=20you=20don't=C2=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- synapse/federation/sender/per_destination_queue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() ]