summary refs log tree commit diff
path: root/synapse/util/patch_inline_callbacks.py
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2020-07-09 09:52:58 -0400
committerGitHub <noreply@github.com>2020-07-09 09:52:58 -0400
commit38e1fac8861f12b707609da06008695a05aaf21c (patch)
tree4d176e1a5e96a7f488081c970f2c59e495533ba8 /synapse/util/patch_inline_callbacks.py
parent`update_membership` declaration: now always returns an event id. (#7809) (diff)
downloadsynapse-38e1fac8861f12b707609da06008695a05aaf21c.tar.xz
Fix some spelling mistakes / typos. (#7811)
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 2605f3c65b..54c046b6e1 100644
--- a/synapse/util/patch_inline_callbacks.py
+++ b/synapse/util/patch_inline_callbacks.py
@@ -192,7 +192,7 @@ def _check_yield_points(f: Callable, changes: List[str]):
                 result = yield d
             except Exception:
                 # this will fish an earlier Failure out of the stack where possible, and
-                # thus is preferable to passing in an exeception to the Failure
+                # thus is preferable to passing in an exception to the Failure
                 # constructor, since it results in less stack-mangling.
                 result = Failure()