summary refs log tree commit diff
path: root/synapse/logging/opentracing.py
diff options
context:
space:
mode:
authorMathieu Velten <mathieuv@matrix.org>2022-11-22 17:23:44 +0100
committerMathieu Velten <mathieuv@matrix.org>2022-11-22 18:10:08 +0100
commitb1be9a742a079d9fb72d37f64f1b177dfb1bd7f7 (patch)
treef0800a6e579e9fd54a4f6e09514ea6e7fc898efd /synapse/logging/opentracing.py
parentAdd type ignore unused-awaitable to ensureDeffered calls (diff)
downloadsynapse-b1be9a742a079d9fb72d37f64f1b177dfb1bd7f7.tar.xz
Add type ignore unused-awaitable to places adding callbacks to a deffered
Diffstat (limited to 'synapse/logging/opentracing.py')
-rw-r--r--synapse/logging/opentracing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/logging/opentracing.py b/synapse/logging/opentracing.py

index b69060854f..180061c99e 100644 --- a/synapse/logging/opentracing.py +++ b/synapse/logging/opentracing.py
@@ -908,7 +908,7 @@ def _custom_sync_async_decorator( scope.__exit__(None, None, None) return result - result.addCallbacks(call_back, err_back) + result.addCallbacks(call_back, err_back) # type: ignore[unused-awaitable] else: if inspect.isawaitable(result):