You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by pa...@apache.org on 2021/02/24 22:02:22 UTC

[beam] branch master updated: [BEAM-11859] Fixed bug in python S3 IO

This is an automated email from the ASF dual-hosted git repository.

pabloem pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new fbc8353  [BEAM-11859] Fixed bug in python S3 IO
     new 22d6adf  Merge pull request #14071 from [BEAM-11859] Fixed bug in python S3 IO
fbc8353 is described below

commit fbc8353f148f981adc89760635094ab2970ecc38
Author: Nir Gazit <ni...@gmail.com>
AuthorDate: Wed Feb 24 19:05:26 2021 +0200

    [BEAM-11859] Fixed bug in python S3 IO
---
 sdks/python/apache_beam/io/aws/s3io.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sdks/python/apache_beam/io/aws/s3io.py b/sdks/python/apache_beam/io/aws/s3io.py
index 21b1130..37f312e 100644
--- a/sdks/python/apache_beam/io/aws/s3io.py
+++ b/sdks/python/apache_beam/io/aws/s3io.py
@@ -493,7 +493,7 @@ class S3IO(object):
     for src, dest, err in copy_results:
       if err is not None: rename_results.append((src, dest, err))
       elif delete_results_dict[src] is not None:
-        rename_results.append(src, dest, delete_results_dict[src])
+        rename_results.append((src, dest, delete_results_dict[src]))
       else:
         rename_results.append((src, dest, None))