@@ -567,12 +567,10 @@ def wait_on_builds(build_ids, credentials, cloud_project, end_time,
567567 retry_count = retries_map .get (build_id , 0 )
568568 backoff_time = (BASE_BACKOFF_SECONDS * (2 ** retry_count ) +
569569 random .uniform (0 , 1 ))
570- next_retry_time [build_id ] = (
571- datetime .datetime .now () +
572- datetime .timedelta (seconds = backoff_time ))
573- logging .warning (
574- 'HttpError for build %s. Retrying in %.2f seconds.' , build_id ,
575- backoff_time )
570+ next_retry_time [build_id ] = (datetime .datetime .now () +
571+ datetime .timedelta (seconds = backoff_time ))
572+ logging .warning ('HttpError for build %s. Retrying in %.2f seconds.' ,
573+ build_id , backoff_time )
576574
577575 if not processed_a_build_in_iteration and wait_builds :
578576 # All remaining builds are in backoff, sleep to prevent busy-waiting.
@@ -586,8 +584,8 @@ def wait_on_builds(build_ids, credentials, cloud_project, end_time,
586584 for project , project_builds in list (wait_builds .items ()):
587585 for build_id , build_type in project_builds :
588586 logs_url = build_lib .get_gcb_url (build_id , cloud_project )
589- failed_builds [project ].append (( 'TIMEOUT (Coordinator)' , logs_url ,
590- build_type ))
587+ failed_builds [project ].append (
588+ ( 'TIMEOUT (Coordinator)' , logs_url , build_type ))
591589
592590 # Final Report
593591 successful_builds_count = sum (
0 commit comments