Always use /usr/bin/python3 in Python scripts

Signed-off-by: Petr Lautrbach <plautrba@redhat.com>
This commit is contained in:
Petr Lautrbach 2019-02-18 17:03:46 +01:00
parent 6b89b1f9c1
commit 3b868abd2e
6 changed files with 6 additions and 6 deletions

View file

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/python3
import dbus
import dbus.service

View file

@ -1,4 +1,4 @@
#!/usr/bin/python -E
#!/usr/bin/python3 -E
from __future__ import print_function

View file

@ -1,4 +1,4 @@
#!/usr/bin/python -E
#!/usr/bin/python3 -E
import sys
import selinux

View file

@ -1,4 +1,4 @@
#!/usr/bin/python -E
#!/usr/bin/python3 -E
import sys
import selinux

View file

@ -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>

View file

@ -1,4 +1,4 @@
#! /usr/bin/python -Es
#!/usr/bin/python3 -Es
try:
from subprocess import getstatusoutput
except ImportError: