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
6 changed files with 6 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/python3
|
||||||
|
|
||||||
import dbus
|
import dbus
|
||||||
import dbus.service
|
import dbus.service
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/python -E
|
#!/usr/bin/python3 -E
|
||||||
|
|
||||||
|
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/python -E
|
#!/usr/bin/python3 -E
|
||||||
import sys
|
import sys
|
||||||
import selinux
|
import selinux
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/python -E
|
#!/usr/bin/python3 -E
|
||||||
import sys
|
import sys
|
||||||
import selinux
|
import selinux
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/python3 -Es
|
#!/usr/bin/python3 -Es
|
||||||
# Copyright (C) 2012-2013 Red Hat
|
# Copyright (C) 2012-2013 Red Hat
|
||||||
# AUTHOR: Miroslav Grepl <mgrepl@redhat.com>
|
# AUTHOR: Miroslav Grepl <mgrepl@redhat.com>
|
||||||
# AUTHOR: David Quigley <selinux@davequigley.com>
|
# AUTHOR: David Quigley <selinux@davequigley.com>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/python -Es
|
#!/usr/bin/python3 -Es
|
||||||
try:
|
try:
|
||||||
from subprocess import getstatusoutput
|
from subprocess import getstatusoutput
|
||||||
except ImportError:
|
except ImportError:
|
||||||
|
|
Loading…
Reference in a new issue