diff options
Diffstat (limited to '')
-rw-r--r-- | changelog.d/11622.misc | 1 | ||||
-rw-r--r-- | synapse/logging/opentracing.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/changelog.d/11622.misc b/changelog.d/11622.misc new file mode 100644 index 0000000000..def24afb8d --- /dev/null +++ b/changelog.d/11622.misc @@ -0,0 +1 @@ +Add opentracing type stubs and fix associated mypy errors. \ No newline at end of file diff --git a/synapse/logging/opentracing.py b/synapse/logging/opentracing.py index 6364290615..622445e9f4 100644 --- a/synapse/logging/opentracing.py +++ b/synapse/logging/opentracing.py @@ -220,6 +220,7 @@ class _DummyTagNames: try: import opentracing + import opentracing.tags tags = opentracing.tags except ImportError: |