diff options
author | Erik Johnston <erik@matrix.org> | 2019-10-10 12:47:07 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2019-10-10 12:47:07 +0100 |
commit | 59e0ed83065874775be350e25bb9f87da67b87c2 (patch) | |
tree | 92ead8d2365483df7e9ebe4cffc63b4761852e0c | |
parent | Fix py3.5 (diff) | |
download | synapse-59e0ed83065874775be350e25bb9f87da67b87c2.tar.xz |
Fix py3.5
-rw-r--r-- | synapse/util/patch_inline_callbacks.py | 2 |
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() |