summary refs log tree commit diff
path: root/synapse/util/async_helpers.py
diff options
context:
space:
mode:
authorPatrick Cloke <patrickc@matrix.org>2021-02-12 11:01:48 -0500
committerPatrick Cloke <patrickc@matrix.org>2021-02-12 11:14:12 -0500
commit7950aa8a27c3f45184c96fda210c62d068dd2591 (patch)
treebdbb8b61fa05020fdf800818066a8dc1a230da8b /synapse/util/async_helpers.py
parentMerge tag 'v1.27.0rc2' into develop (diff)
downloadsynapse-7950aa8a27c3f45184c96fda210c62d068dd2591.tar.xz
Fix some typos.
Diffstat (limited to '')
-rw-r--r--synapse/util/async_helpers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/util/async_helpers.py b/synapse/util/async_helpers.py
index 9a873c8e8e..691dde9a01 100644
--- a/synapse/util/async_helpers.py
+++ b/synapse/util/async_helpers.py
@@ -497,7 +497,7 @@ def timeout_deferred(
     delayed_call = reactor.callLater(timeout, time_it_out)
 
     def convert_cancelled(value: failure.Failure):
-        # if the orgininal deferred was cancelled, and our timeout has fired, then
+        # if the original deferred was cancelled, and our timeout has fired, then
         # the reason it was cancelled was due to our timeout. Turn the CancelledError
         # into a TimeoutError.
         if timed_out[0] and value.check(CancelledError):