#254 Shebang path for Python interpreter.
Merged 5 years ago by astepano. Opened 5 years ago by astepano.

@@ -1,4 +1,4 @@ 

- #!/usr/bin/env python

+ #!/usr/bin/python2

  

  # The MIT License (MIT)

  #

@@ -1,4 +1,4 @@ 

- #!/usr/bin/env python

+ #!/usr/bin/python2

  

  # The MIT License (MIT)

  #

@@ -1,4 +1,4 @@ 

- #!/usr/bin/env python

+ #!/usr/bin/python2

  

  import argparse

  import errno

@@ -1,4 +1,4 @@ 

- #!/usr/bin/env python

+ #!/usr/bin/python2

  

  # The MIT License (MIT)

  #

@@ -1,4 +1,4 @@ 

- #!/usr/bin/env python

+ #!/usr/bin/python2

  

  # The purpose of this file is to satisfy /usr/bin/beakerlib-journalling use of "import rpm",

  # particularly on Atomic Host which doesn't have python2-rpm package. beakerlib-journalling

@@ -1,4 +1,4 @@ 

- #!/usr/bin/env python

+ #!/usr/bin/python2

  

  import json

  import os

file modified
+1 -1
@@ -1,4 +1,4 @@ 

- #!/bin/env python

+ #!/usr/bin/python2

  """

  Filter tests based on metadata and provided path and filter.

  Usage: {0} path filter [path filter...]

Tested on Centos/Fedora28
Works for me.

 cat /etc/os-release 
NAME=Fedora
VERSION="28 (Twenty Eight)"
ID=fedora
VERSION_ID=28
PLATFORM_ID="platform:f28"
PRETTY_NAME="Fedora 28 (Twenty Eight)"
ANSI_COLOR="0;34"
CPE_NAME="cpe:/o:fedoraproject:fedora:28"
HOME_URL="https://fedoraproject.org/"

TASK [str-common-final : Report role result] ********************************************************************************************************************************************************************
ok: [localhost] => {
    "msg": [
        "Tests failed: False", 
        "Tests msg: ", 
        ""
    ]
}

PLAY RECAP ******************************************************************************************************************************************************************************************************
localhost                  : ok=38   changed=12   unreachable=0    failed=0   

Commit a3a0103 fixes this pull-request

Pull-Request has been merged by astepano

5 years ago

Pull-Request has been merged by astepano

5 years ago