From 80781b99c46481b3f6da215f08260ca781234551 Mon Sep 17 00:00:00 2001 From: Shunping Huang Date: Thu, 15 Feb 2024 12:51:32 -0500 Subject: [PATCH] Fix post-commit failure after pr/30205. --- sdks/python/apache_beam/io/gcp/gcsio.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/sdks/python/apache_beam/io/gcp/gcsio.py b/sdks/python/apache_beam/io/gcp/gcsio.py index b5a291428767..f0bbf458cf84 100644 --- a/sdks/python/apache_beam/io/gcp/gcsio.py +++ b/sdks/python/apache_beam/io/gcp/gcsio.py @@ -233,7 +233,6 @@ def delete_batch(self, paths): resp = current_batch._responses[i] if resp.status_code >= 400 and resp.status_code != 404: error_code = resp.status_code - break final_results.append((path, error_code)) s += MAX_BATCH_OPERATION_SIZE @@ -296,7 +295,6 @@ def copy_batch(self, src_dest_pairs): resp = current_batch._responses[i] if resp.status_code >= 400: error_code = resp.status_code - break final_results.append((pair[0], pair[1], error_code)) s += MAX_BATCH_OPERATION_SIZE