X-Git-Url: https://wannabe.guru.org/gitweb/?a=blobdiff_plain;f=smart_future.py;fp=smart_future.py;h=625c3ed66b63b3ec17e5dc94897a3ca1a88a5451;hb=a9bdfd8fc9f84b7b2c09a57cd12ba32259e84d1c;hp=86f1b1c42ad32bb85eb206e51c33543a8c57f9cd;hpb=aacfe10026ba44cf1ef77458ff6f4f2c042b12fc;p=python_utils.git diff --git a/smart_future.py b/smart_future.py index 86f1b1c..625c3ed 100644 --- a/smart_future.py +++ b/smart_future.py @@ -58,7 +58,6 @@ def wait_any( smart_future_by_real_future[x.wrapped_future] = x while len(completed_futures) != len(real_futures): - print("TOP...") try: newly_completed_futures = concurrent.futures.as_completed(real_futures, timeout=timeout) for f in newly_completed_futures: @@ -75,7 +74,6 @@ def wait_any( raise exception yield smart_future_by_real_future[f] except TimeoutError: - print(f"HERE!!! {len(completed_futures)} / {len(real_futures)}.") if callback is not None: callback() if callback is not None: