Skip to content

Commit b16e6fb

Browse files
committed
Update condition.py
1 parent ca84394 commit b16e6fb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

distributed/condition.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,9 @@ async def wait(self, timeout=None):
158158
raise RuntimeError("Cannot wait on un-acquired condition")
159159

160160
scheduler = self._get_scheduler_rpc()
161-
result = await scheduler.condition_wait(name=self.name, id=self.id, timeout=timeout)
161+
result = await scheduler.condition_wait(
162+
name=self.name, id=self.id, timeout=timeout
163+
)
162164
return result
163165

164166
async def notify(self, n=1):

0 commit comments

Comments
 (0)