mirror of
https://github.com/SELinuxProject/selinux
synced 2025-01-12 00:19:24 +00:00
Always use /usr/bin/python3 in Python scripts
Signed-off-by: Petr Lautrbach <plautrba@redhat.com>
This commit is contained in:
parent
6b89b1f9c1
commit
3b868abd2e
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python
|
||||
#!/usr/bin/python3
|
||||
|
||||
import dbus
|
||||
import dbus.service
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python -E
|
||||
#!/usr/bin/python3 -E
|
||||
|
||||
|
||||
from __future__ import print_function
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python -E
|
||||
#!/usr/bin/python3 -E
|
||||
import sys
|
||||
import selinux
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python -E
|
||||
#!/usr/bin/python3 -E
|
||||
import sys
|
||||
import selinux
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#! /usr/bin/python3 -Es
|
||||
#!/usr/bin/python3 -Es
|
||||
# Copyright (C) 2012-2013 Red Hat
|
||||
# AUTHOR: Miroslav Grepl <mgrepl@redhat.com>
|
||||
# AUTHOR: David Quigley <selinux@davequigley.com>
|
||||
|
@ -1,4 +1,4 @@
|
||||
#! /usr/bin/python -Es
|
||||
#!/usr/bin/python3 -Es
|
||||
try:
|
||||
from subprocess import getstatusoutput
|
||||
except ImportError:
|
||||
|
Loading…
Reference in New Issue
Block a user