summaryrefslogtreecommitdiff
path: root/smart_future.py
diff options
context:
space:
mode:
authorScott <[email protected]>2022-01-26 21:34:26 -0800
committerScott <[email protected]>2022-01-26 21:34:26 -0800
commit36fea7f15ed17150691b5b3ead75450e575229ef (patch)
tree883ec076d7abe7683231244d27ca2c603ffcf031 /smart_future.py
parenta0c6b6c28214e0f5167bc25690ada5d83d933086 (diff)
Ran black code formatter on everything.
Diffstat (limited to 'smart_future.py')
-rw-r--r--smart_future.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/smart_future.py b/smart_future.py
index c097d53..8f23e77 100644
--- a/smart_future.py
+++ b/smart_future.py
@@ -37,9 +37,7 @@ def wait_any(futures: List[SmartFuture], *, callback: Callable = None):
def wait_all(futures: List[SmartFuture]) -> None:
real_futures = [x.wrapped_future for x in futures]
(done, not_done) = concurrent.futures.wait(
- real_futures,
- timeout=None,
- return_when=concurrent.futures.ALL_COMPLETED
+ real_futures, timeout=None, return_when=concurrent.futures.ALL_COMPLETED
)
assert len(done) == len(real_futures)
assert len(not_done) == 0