mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-22 12:44:30 +03:00
Double negatives do not make code that isn't unclear..
Co-Authored-By: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
This commit is contained in:
parent
8b53f8e9bd
commit
35eb018c02
1 changed files with 1 additions and 1 deletions
|
@ -231,7 +231,7 @@ class PerDestinationQueue(object):
|
||||||
).get("opentracing", {})
|
).get("opentracing", {})
|
||||||
# If there is no span context then we are either blacklisting
|
# If there is no span context then we are either blacklisting
|
||||||
# this destination or we are not tracing
|
# this destination or we are not tracing
|
||||||
if not span_context == {}:
|
if span_context:
|
||||||
if "references" not in span_context:
|
if "references" not in span_context:
|
||||||
span_context["references"] = [
|
span_context["references"] = [
|
||||||
opentracing.active_span_context_as_string()
|
opentracing.active_span_context_as_string()
|
||||||
|
|
Loading…
Reference in a new issue