Skip to content

Commit b95f552

Browse files
committed
Use python3 explicitly in all python scripts
1 parent a381e2b commit b95f552

File tree

8 files changed

+8
-3
lines changed

8 files changed

+8
-3
lines changed

src/journal-remote/log-generator.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
#!/usr/bin/python
2-
from __future__ import print_function
1+
#!/usr/bin/python3
32
import sys
43
import argparse
54

test/rule-syntax-check.py

100644100755
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/python3
12
# Simple udev rules syntax checker
23
#
34
# (C) 2010 Canonical Ltd.

test/sysv-generator-test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python
1+
#!/usr/bin/python3
22
#
33
# systemd-sysv-generator integration test
44
#

tools/gdb-sd_dump_hashmaps.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/python3
12
# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
23
#
34
# This file is part of systemd.

tools/make-directive-index.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/python3
12
# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
23
#
34
# This file is part of systemd.

tools/make-man-index.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/python3
12
# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
23
#
34
# This file is part of systemd.

tools/make-man-rules.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/python3
12
# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
23
#
34
# This file is part of systemd.

tools/xml_helper.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/python3
12
# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
23
#
34
# This file is part of systemd.

0 commit comments

Comments
 (0)