mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-14 20:33:53 +01:00
Fix py3.5
This commit is contained in:
parent
f735aeec65
commit
c349e3ebaf
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ def do_patch():
|
||||||
@functools.wraps(f)
|
@functools.wraps(f)
|
||||||
def wrapped(*args, **kwargs):
|
def wrapped(*args, **kwargs):
|
||||||
start_context = LoggingContext.current_context()
|
start_context = LoggingContext.current_context()
|
||||||
changes: List[str] = []
|
changes = [] # type: List[str]
|
||||||
orig = orig_inline_callbacks(_check_yield_points(f, changes))
|
orig = orig_inline_callbacks(_check_yield_points(f, changes))
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in a new issue