diff options
author | Andrew Morgan <andrew@amorgan.xyz> | 2021-04-09 01:44:57 +0100 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2021-04-09 01:44:57 +0100 |
commit | 0de0fe0fe72bb2e2e0044908b9b89fe489bdff5c (patch) | |
tree | 0c8a3541b2797e8055c8b171cde8d57fcba79227 /synapse/logging/opentracing.py | |
parent | Changelog (diff) | |
parent | Bugbear: Add Mutable Parameter fixes (#9682) (diff) | |
download | synapse-0de0fe0fe72bb2e2e0044908b9b89fe489bdff5c.tar.xz |
Merge branch 'develop' of github.com:matrix-org/synapse into anoa/allow_admins_delist_as_rooms
Diffstat (limited to 'synapse/logging/opentracing.py')
-rw-r--r-- | synapse/logging/opentracing.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/logging/opentracing.py b/synapse/logging/opentracing.py index b8081f197e..bfe9136fd8 100644 --- a/synapse/logging/opentracing.py +++ b/synapse/logging/opentracing.py @@ -486,7 +486,7 @@ def start_active_span_from_request( def start_active_span_from_edu( edu_content, operation_name, - references=[], + references: Optional[list] = None, tags=None, start_time=None, ignore_active_span=False, @@ -501,6 +501,7 @@ def start_active_span_from_edu( For the other args see opentracing.tracer """ + references = references or [] if opentracing is None: return noop_context_manager() |