1
0

Though style is subjective it depends on a ruthless objectivity: you either have it, or you don't·

This commit is contained in:
Jorik Schellekens
2019-07-17 14:00:22 +01:00
parent eb7a79553c
commit 1197e2e97b

View File

@@ -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()
]