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
from __future__ import print_function
#!/usr/bin/python3
import sys
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
#
# (C) 2010 Canonical Ltd.

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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