Skip to content

Commit 9b02fb9

Browse files
committed
Oups
1 parent 6a84133 commit 9b02fb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

afar/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ def _exit(self, exc_type, exc_value, exc_traceback):
309309
def cancel(self, *, client=None, force=False):
310310
"""Cancel pending tasks"""
311311
if client is not None:
312-
items = (client, self._client_to_futures[client])
312+
items = [(client, self._client_to_futures[client])]
313313
else:
314314
items = self._client_to_futures.items()
315315
for client, weak_futures in items:

0 commit comments

Comments
 (0)