Return-Path: X-Original-To: apmail-incubator-ambari-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ambari-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 494C8F562 for ; Mon, 8 Apr 2013 14:21:18 +0000 (UTC) Received: (qmail 20179 invoked by uid 500); 8 Apr 2013 14:21:18 -0000 Delivered-To: apmail-incubator-ambari-dev-archive@incubator.apache.org Received: (qmail 20150 invoked by uid 500); 8 Apr 2013 14:21:18 -0000 Mailing-List: contact ambari-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@incubator.apache.org Delivered-To: mailing list ambari-dev@incubator.apache.org Received: (qmail 20128 invoked by uid 99); 8 Apr 2013 14:21:18 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Apr 2013 14:21:18 +0000 Date: Mon, 8 Apr 2013 14:21:18 +0000 (UTC) From: "Sumit Mohanty (JIRA)" To: ambari-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-1790) Consider changing env comments in py scripts to use python2 instead of python2.x MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-1790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13625409#comment-13625409 ] Sumit Mohanty commented on AMBARI-1790: --------------------------------------- +1 > Consider changing env comments in py scripts to use python2 instead of python2.x > -------------------------------------------------------------------------------- > > Key: AMBARI-1790 > URL: https://issues.apache.org/jira/browse/AMBARI-1790 > Project: Ambari > Issue Type: Improvement > Affects Versions: 1.2.0 > Environment: Fedora > Using branch-1.2 sources > Reporter: Trevor McKay > Assignee: Trevor McKay > Fix For: 1.3.0 > > Attachments: python2.patch, python2_trunk.patch > > > The env comment in most of the python files looks like > #!/usr/bin/env python2.7 > Changing it to this makes the scripts work on hosts with python2.x which is more portable > #!/usr/bin/env python2 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira