summary refs log tree commit diff
path: root/synapse/util/patch_inline_callbacks.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/util/patch_inline_callbacks.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/util/patch_inline_callbacks.py')
-rw-r--r--synapse/util/patch_inline_callbacks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/util/patch_inline_callbacks.py b/synapse/util/patch_inline_callbacks.py

index f97f98a057..b09eb242c2 100644 --- a/synapse/util/patch_inline_callbacks.py +++ b/synapse/util/patch_inline_callbacks.py
@@ -108,7 +108,7 @@ def do_patch() -> None: raise Exception(err) return r - res.addBoth(check_ctx) + res.addBoth(check_ctx) # type: ignore[unused-awaitable] return res return wrapped