Re: [PATCH] Switch last 2 files using /usr/bin/env to /usr/bin/python3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 9/24/19 3:46 PM, Petr Lautrbach wrote:
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 <plautrba@xxxxxxxxxx>

Thanks, applied.

---
  libsemanage/src/pywrap-test.py | 2 +-
  python/sepolicy/setup.py       | 2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libsemanage/src/pywrap-test.py b/libsemanage/src/pywrap-test.py
index 5ac48f40..f266f700 100644
--- a/libsemanage/src/pywrap-test.py
+++ b/libsemanage/src/pywrap-test.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
  from __future__ import print_function
import sys
diff --git a/python/sepolicy/setup.py b/python/sepolicy/setup.py
index 4bd8353d..3633c127 100644
--- a/python/sepolicy/setup.py
+++ b/python/sepolicy/setup.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
# Author: Thomas Liu <tliu@xxxxxxxxxx>
  # Author: Dan Walsh <dwalsh@xxxxxxxxxx>





[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux