Skip to content

Commit 482fd84

Browse files
committed
YAPFd again
1 parent 76116f5 commit 482fd84

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

trio_asyncio/adapter.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
def trio2aio(proc):
1616
if inspect.isasyncgenfunction(proc):
17+
1718
@wraps(proc)
1819
def call(*args, **kwargs):
1920
proc_ = proc
@@ -22,6 +23,7 @@ def call(*args, **kwargs):
2223
return trio_asyncio.wrap_generator(proc_, *args)
2324

2425
else:
26+
2527
@wraps(proc)
2628
async def call(*args, **kwargs):
2729
proc_ = proc

trio_asyncio/util.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ def abort_cb(raise_cancel_arg):
4949

5050
STOP = object()
5151

52+
5253
async def run_generator(loop, async_generator):
5354
task = trio.hazmat.current_task()
5455
raise_cancel = None

0 commit comments

Comments
 (0)