incubator-ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trevor McKay (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-1790) Consider changing env comments in py scripts to use python2 instead of python2.x
Date Thu, 04 Apr 2013 18:41:16 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-1790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Trevor McKay updated AMBARI-1790:
---------------------------------

    Attachment: python2.patch

Attached is a patch to change the py files in branch-1.2, it shows the affected files.
                
> 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
>         Attachments: python2.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

Mime
View raw message