summary refs log tree commit diff
path: root/synapse/util/patch_inline_callbacks.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-10-10 12:29:38 +0100
committerErik Johnston <erik@matrix.org>2019-10-10 12:29:38 +0100
commitc349e3ebafbe044022b93ca5c04d8b2fcb640c0a (patch)
tree4a5761e2d07e0ddc0720e2617f4de29844d0d001 /synapse/util/patch_inline_callbacks.py
parentsort (diff)
downloadsynapse-c349e3ebafbe044022b93ca5c04d8b2fcb640c0a.tar.xz
Fix py3.5
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 3b78451dc0..812dc88835 100644
--- a/synapse/util/patch_inline_callbacks.py
+++ b/synapse/util/patch_inline_callbacks.py
@@ -44,7 +44,7 @@ def do_patch():
         @functools.wraps(f)
         def wrapped(*args, **kwargs):
             start_context = LoggingContext.current_context()
-            changes: List[str] = []
+            changes = []  # type: List[str]
             orig = orig_inline_callbacks(_check_yield_points(f, changes))
 
             try: