Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-1790

Consider changing env comments in py scripts to use 'python' instead of 'python2.x'

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      Fedora
      Using branch-1.2 sources

      Description

      The env comment in most of the python files looks like

      #!/usr/bin/env python2.6

      Changing it to this makes the scripts work on hosts with python2.7 which is more portable

      #!/usr/bin/env python

        Attachments

          Activity

            People

            • Assignee:
              tmckay Trevor McKay
              Reporter:
              tmckay Trevor McKay
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: