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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.2.0
    • None
    • None
    • None
    • 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

        1. python_ver.patch
          71 kB
          Trevor McKay

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: