From 52eedb2a20d83444ddc9187bca416598c168e9fd Mon Sep 17 00:00:00 2001 From: Shunping Huang Date: Thu, 15 Feb 2024 15:40:18 -0500 Subject: [PATCH] Fix post-commit failure after pr/30205. (#30331) --- 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 b5a2914287674..f0bbf458cf84f 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