1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-25 01:34:28 +03:00

Merge pull request #4761 from fsateler/python3

Explicitly use python3 everywhere
This commit is contained in:
Martin Pitt 2016-11-28 21:10:57 +01:00 committed by GitHub
commit 920ec31b5f
9 changed files with 9 additions and 4 deletions

View File

@ -263,7 +263,7 @@ AC_ARG_WITH([python],
have_lxml=no
AS_IF([test "x$with_python" != "xno"], [
AM_PATH_PYTHON(,, [:])
AM_PATH_PYTHON([3],, [:])
AS_IF([test "x$PYTHON" != "x:"], [
AC_MSG_CHECKING([for python lxml module])
AS_IF(["$PYTHON" -c 'import lxml' 2>/dev/null], [have_lxml=yes])

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.