Use python3 explicitly in all python scripts

This commit is contained in:
Felipe Sateler 2016-08-21 20:25:37 -03:00
parent a381e2b5fd
commit b95f5528cc
8 changed files with 8 additions and 3 deletions

View file

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

1
test/rule-syntax-check.py Normal file → Executable file
View file

@ -1,3 +1,4 @@
#!/usr/bin/python3
# Simple udev rules syntax checker # Simple udev rules syntax checker
# #
# (C) 2010 Canonical Ltd. # (C) 2010 Canonical Ltd.

View file

@ -1,4 +1,4 @@
#!/usr/bin/python #!/usr/bin/python3
# #
# systemd-sysv-generator integration test # systemd-sysv-generator integration test
# #

View file

@ -1,3 +1,4 @@
#!/usr/bin/python3
# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */ # -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
# #
# This file is part of systemd. # This file is part of systemd.

View file

@ -1,3 +1,4 @@
#!/usr/bin/python3
# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */ # -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
# #
# This file is part of systemd. # This file is part of systemd.

View file

@ -1,3 +1,4 @@
#!/usr/bin/python3
# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */ # -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
# #
# This file is part of systemd. # This file is part of systemd.

View file

@ -1,3 +1,4 @@
#!/usr/bin/python3
# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */ # -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
# #
# This file is part of systemd. # This file is part of systemd.

View file

@ -1,3 +1,4 @@
#!/usr/bin/python3
# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */ # -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
# #
# This file is part of systemd. # This file is part of systemd.