Skip to content

Commit

Permalink
Merge 9540c24 into 4d31072
Browse files Browse the repository at this point in the history
  • Loading branch information
tomchristie committed Jan 23, 2019
2 parents 4d31072 + 9540c24 commit fb53f63
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions black.py
Expand Up @@ -487,6 +487,7 @@ async def schedule_formatting(
done, _ = await asyncio.wait(pending, return_when=asyncio.FIRST_COMPLETED)
for task in done:
src = tasks.pop(task)
pending = tasks.keys()
if task.cancelled():
cancelled.append(task)
elif task.exception():
Expand Down

0 comments on commit fb53f63

Please sign in to comment.