summary refs log tree commit diff
path: root/synapse/util
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-10-10 12:47:07 +0100
committerErik Johnston <erik@matrix.org>2019-10-10 12:47:07 +0100
commit59e0ed83065874775be350e25bb9f87da67b87c2 (patch)
tree92ead8d2365483df7e9ebe4cffc63b4761852e0c /synapse/util
parentFix py3.5 (diff)
downloadsynapse-59e0ed83065874775be350e25bb9f87da67b87c2.tar.xz
Fix py3.5
Diffstat (limited to 'synapse/util')
-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 812dc88835..66c3d47519 100644
--- a/synapse/util/patch_inline_callbacks.py
+++ b/synapse/util/patch_inline_callbacks.py
@@ -134,7 +134,7 @@ def _check_yield_points(f: Callable, changes: List[str]):
         gen = f(*args, **kwargs)
 
         last_yield_line_no = gen.gi_frame.f_lineno
-        result: Any = None
+        result = None  # type: Any
         while True:
             expected_context = LoggingContext.current_context()