Skip to content

Commit b7e40f1

Browse files
author
Ubuntu
committed
updateCodeStyle
1 parent 5d1e627 commit b7e40f1

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/sagemaker/predictor_async.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -303,9 +303,11 @@ def check_failure_file():
303303
output_thread.start()
304304
failure_thread.start()
305305

306-
while not output_file_found.is_set() and \
307-
not failure_file_found.is_set() and \
308-
not waiter_error_catched.is_set():
306+
while (
307+
not output_file_found.is_set()
308+
and not failure_file_found.is_set()
309+
and not waiter_error_catched.is_set()
310+
):
309311
time.sleep(1)
310312

311313
if output_file_found.is_set():

0 commit comments

Comments
 (0)