mirror of
https://github.com/element-hq/synapse
synced 2024-08-20 01:30:20 +00:00
Fix py3.5
This commit is contained in:
parent
c349e3ebaf
commit
59e0ed8306
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ def _check_yield_points(f: Callable, changes: List[str]):
|
||||||
gen = f(*args, **kwargs)
|
gen = f(*args, **kwargs)
|
||||||
|
|
||||||
last_yield_line_no = gen.gi_frame.f_lineno
|
last_yield_line_no = gen.gi_frame.f_lineno
|
||||||
result: Any = None
|
result = None # type: Any
|
||||||
while True:
|
while True:
|
||||||
expected_context = LoggingContext.current_context()
|
expected_context = LoggingContext.current_context()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue