Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 04226165FB7 for ; Tue, 22 Aug 2017 03:34:33 +0200 (CEST) Received: (qmail 45600 invoked by uid 500); 22 Aug 2017 01:34:33 -0000 Mailing-List: contact commits-help@beam.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@beam.apache.org Delivered-To: mailing list commits@beam.apache.org Received: (qmail 45585 invoked by uid 99); 22 Aug 2017 01:34:33 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Aug 2017 01:34:33 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 18E36F32B0; Tue, 22 Aug 2017 01:34:33 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: altay@apache.org To: commits@beam.apache.org Date: Tue, 22 Aug 2017 01:34:33 -0000 Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: [1/2] beam git commit: Avoid passing extra argument to object() constructor in GcsIO Repository: beam Updated Branches: refs/heads/master 32bf7bc64 -> d8d3f3093 Avoid passing extra argument to object() constructor in GcsIO Project: http://git-wip-us.apache.org/repos/asf/beam/repo Commit: http://git-wip-us.apache.org/repos/asf/beam/commit/90a850e9 Tree: http://git-wip-us.apache.org/repos/asf/beam/tree/90a850e9 Diff: http://git-wip-us.apache.org/repos/asf/beam/diff/90a850e9 Branch: refs/heads/master Commit: 90a850e96af0ac7670880af6cd6f182a06bb98df Parents: 32bf7bc Author: Charles Chen Authored: Mon Aug 21 15:42:59 2017 -0700 Committer: Ahmet Altay Committed: Mon Aug 21 18:34:22 2017 -0700 ---------------------------------------------------------------------- sdks/python/apache_beam/io/gcp/gcsio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/beam/blob/90a850e9/sdks/python/apache_beam/io/gcp/gcsio.py ---------------------------------------------------------------------- diff --git a/sdks/python/apache_beam/io/gcp/gcsio.py b/sdks/python/apache_beam/io/gcp/gcsio.py index ae71a5f..b18a287 100644 --- a/sdks/python/apache_beam/io/gcp/gcsio.py +++ b/sdks/python/apache_beam/io/gcp/gcsio.py @@ -105,7 +105,7 @@ class GcsIO(object): def __new__(cls, storage_client=None): if storage_client: # This path is only used for testing. - return super(GcsIO, cls).__new__(cls, storage_client) + return super(GcsIO, cls).__new__(cls) else: # Create a single storage client for each thread. We would like to avoid # creating more than one storage client for each thread, since each