Skip to contentSkip to conversation

Switch last 2 files using /usr/bin/env to /usr/bin/python3

PATCH Applied Petr Lautrbach 2 participants 2 messages Sep 24, 2019 – Sep 26, 2019 SELinux security module

lore
Share & tools
lore
#0 lore raw

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 ...
---
 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
index 5ac48f40..f266f700 100644
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 from __future__ import print_function
 
 import sys
python/sepolicy/setup.py +1 -1
index 4bd8353d..3633c127 100644
@@ -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
#1 lore raw
Quoted 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 ...

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
index 5ac48f40..f266f700 100644
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
  from __future__ import print_function
 
  import sys
python/sepolicy/setup.py +1 -1
index 4bd8353d..3633c127 100644
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 
  # Author: Thomas Liu <[email protected]>
  # Author: Dan Walsh <[email protected]>