]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Use python3 explicitly in all python scripts 4761/head
authorFelipe Sateler <fsateler@gmail.com>
Sun, 21 Aug 2016 23:25:37 +0000 (20:25 -0300)
committerFelipe Sateler <fsateler@gmail.com>
Mon, 28 Nov 2016 18:00:20 +0000 (15:00 -0300)
src/journal-remote/log-generator.py
test/rule-syntax-check.py [changed mode: 0644->0755]
test/sysv-generator-test.py
tools/gdb-sd_dump_hashmaps.py
tools/make-directive-index.py
tools/make-man-index.py
tools/make-man-rules.py
tools/xml_helper.py

index fd6964e758269177423fc28e1af2f8acb653d6db..24874e960ca88ec77869d068187ec7ac8a2b25be 100755 (executable)
@@ -1,5 +1,4 @@
-#!/usr/bin/python
-from __future__ import print_function
+#!/usr/bin/python3
 import sys
 import argparse
 
old mode 100644 (file)
new mode 100755 (executable)
index e43a3da..e4185cb
@@ -1,3 +1,4 @@
+#!/usr/bin/python3
 # Simple udev rules syntax checker
 #
 # (C) 2010 Canonical Ltd.
index 838dd57a6f087e3567641d032d741e30ce8c09f3..50175485f7952eedf22c549fb8bfa6f65fd65023 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
 #
 # systemd-sysv-generator integration test
 #
index 9ee81fb05a62708cb145626ab49867bda1c87753..d20016e0058b37993844a8c0ef7d57ca74164fa5 100644 (file)
@@ -1,3 +1,4 @@
+#!/usr/bin/python3
 #  -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
 #
 #  This file is part of systemd.
index 256ff3dc5daec3fb5cab9cf5a75aeb524ca50c5f..8ce09ca2fa078a988ceb68eb87552fc86dfa56b7 100755 (executable)
@@ -1,3 +1,4 @@
+#!/usr/bin/python3
 #  -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
 #
 #  This file is part of systemd.
index 74a47b821a9538d4e8531fc123ac05edb934a170..50ad9532cdc57e3dd885107b6e6e04da86b51c0d 100755 (executable)
@@ -1,3 +1,4 @@
+#!/usr/bin/python3
 #  -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
 #
 #  This file is part of systemd.
index 5e61917d6032d62551219fc43f92e8012d712c89..18aa513952f5497947d28e86400a81959161089b 100644 (file)
@@ -1,3 +1,4 @@
+#!/usr/bin/python3
 #  -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
 #
 #  This file is part of systemd.
index e87126f2f77fe7dc4cf7c4a4ec91d7ffafbdea05..b2c036909d973c883608169047cbd1f73eb26e7a 100644 (file)
@@ -1,3 +1,4 @@
+#!/usr/bin/python3
 #  -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
 #
 #  This file is part of systemd.