summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/journal-remote/log-generator.py3
-rwxr-xr-x[-rw-r--r--]test/rule-syntax-check.py1
-rwxr-xr-xtest/sysv-generator-test.py2
-rw-r--r--tools/gdb-sd_dump_hashmaps.py1
-rwxr-xr-xtools/make-directive-index.py1
-rwxr-xr-xtools/make-man-index.py1
-rw-r--r--tools/make-man-rules.py1
-rw-r--r--tools/xml_helper.py1
8 files changed, 8 insertions, 3 deletions
diff --git a/src/journal-remote/log-generator.py b/src/journal-remote/log-generator.py
index fd6964e758..24874e960c 100755
--- a/src/journal-remote/log-generator.py
+++ b/src/journal-remote/log-generator.py
@@ -1,5 +1,4 @@
-#!/usr/bin/python
-from __future__ import print_function
+#!/usr/bin/python3
import sys
import argparse
diff --git a/test/rule-syntax-check.py b/test/rule-syntax-check.py
index e43a3daeb3..e4185cb0fa 100644..100755
--- a/test/rule-syntax-check.py
+++ b/test/rule-syntax-check.py
@@ -1,3 +1,4 @@
+#!/usr/bin/python3
# Simple udev rules syntax checker
#
# (C) 2010 Canonical Ltd.
diff --git a/test/sysv-generator-test.py b/test/sysv-generator-test.py
index 838dd57a6f..50175485f7 100755
--- a/test/sysv-generator-test.py
+++ b/test/sysv-generator-test.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
#
# systemd-sysv-generator integration test
#
diff --git a/tools/gdb-sd_dump_hashmaps.py b/tools/gdb-sd_dump_hashmaps.py
index 9ee81fb05a..d20016e005 100644
--- a/tools/gdb-sd_dump_hashmaps.py
+++ b/tools/gdb-sd_dump_hashmaps.py
@@ -1,3 +1,4 @@
+#!/usr/bin/python3
# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
#
# This file is part of systemd.
diff --git a/tools/make-directive-index.py b/tools/make-directive-index.py
index 256ff3dc5d..8ce09ca2fa 100755
--- a/tools/make-directive-index.py
+++ b/tools/make-directive-index.py
@@ -1,3 +1,4 @@
+#!/usr/bin/python3
# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
#
# This file is part of systemd.
diff --git a/tools/make-man-index.py b/tools/make-man-index.py
index 74a47b821a..50ad9532cd 100755
--- a/tools/make-man-index.py
+++ b/tools/make-man-index.py
@@ -1,3 +1,4 @@
+#!/usr/bin/python3
# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
#
# This file is part of systemd.
diff --git a/tools/make-man-rules.py b/tools/make-man-rules.py
index 5e61917d60..18aa513952 100644
--- a/tools/make-man-rules.py
+++ b/tools/make-man-rules.py
@@ -1,3 +1,4 @@
+#!/usr/bin/python3
# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
#
# This file is part of systemd.
diff --git a/tools/xml_helper.py b/tools/xml_helper.py
index e87126f2f7..b2c036909d 100644
--- a/tools/xml_helper.py
+++ b/tools/xml_helper.py
@@ -1,3 +1,4 @@
+#!/usr/bin/python3
# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
#
# This file is part of systemd.