Switch last 2 files using /usr/bin/env to /usr/bin/python3
PATCH 1/1 Switch last 2 files using /usr/bin/env to /usr/bin/python3
Other python scripts already use python3 by default. Both files don't have exec bits so they have to be run using python interpret on command line anyway:
$ python3 ./setup.py ...
Signed-off-by Petr Lautrbach <[email protected]>
--- libsemanage/src/pywrap-test.py | 2 +- python/sepolicy/setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
libsemanage/src/pywrap-test.py +1 -1
@@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 from __future__ import print_function import sys
python/sepolicy/setup.py +1 -1
@@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # Author: Thomas Liu <[email protected]> # Author: Dan Walsh <[email protected]>
Signature · 1 line
2.23.0
Stephen Smalley
AppliedQuoted 6 lines · Petr Lautrbach
Other python scripts already use python3 by default. Both files don't have exec bits so they have to be run using python interpret on command line anyway:
$ python3 ./setup.py ...Signed-off-by Petr Lautrbach <[email protected]>
Thanks, applied.
Quoted 26 lines
--- libsemanage/src/pywrap-test.py | 2 +- python/sepolicy/setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)libsemanage/src/pywrap-test.py +1
-1@@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 from __future__ import print_function import syspython/sepolicy/setup.py +1
-1@@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # Author: Thomas Liu <[email protected]> # Author: Dan Walsh <[email protected]>