X-Git-Url: https://wannabe.guru.org/gitweb/?a=blobdiff_plain;f=smart_future.py;h=625c3ed66b63b3ec17e5dc94897a3ca1a88a5451;hb=6cd6c39d818ee72a041e17f861ce3989369132b1;hp=86f1b1c42ad32bb85eb206e51c33543a8c57f9cd;hpb=a0722abe80c416e0c174f3ff861566834402d43b;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: