Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 71FC42009EE for ; Wed, 18 May 2016 15:20:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 70980160A15; Wed, 18 May 2016 13:20:14 +0000 (UTC) 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 B81901609B1 for ; Wed, 18 May 2016 15:20:13 +0200 (CEST) Received: (qmail 15317 invoked by uid 500); 18 May 2016 13:20:13 -0000 Mailing-List: contact issues-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list issues@ambari.apache.org Received: (qmail 15299 invoked by uid 99); 18 May 2016 13:20:12 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 May 2016 13:20:12 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id CE0052C1F5C for ; Wed, 18 May 2016 13:20:12 +0000 (UTC) Date: Wed, 18 May 2016 13:20:12 +0000 (UTC) From: "Masahiro TANAKA (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-16731) Should close file object in security.py MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 18 May 2016 13:20:14 -0000 [ https://issues.apache.org/jira/browse/AMBARI-16731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15288937#comment-15288937 ] Masahiro TANAKA commented on AMBARI-16731: ------------------------------------------ Attached a patch > Should close file object in security.py > --------------------------------------- > > Key: AMBARI-16731 > URL: https://issues.apache.org/jira/browse/AMBARI-16731 > Project: Ambari > Issue Type: Bug > Components: ambari-agent > Affects Versions: trunk > Reporter: Masahiro TANAKA > Priority: Minor > Attachments: AMBARI-16371.patch > > > {{reqSignCrt}} method opens CSR file with {{open}} function but that doesn't close it. > This wastes resources and may cause a problem. -- This message was sent by Atlassian JIRA (v6.3.4#6332)