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>