mirror of
https://github.com/systemd/systemd
synced 2024-09-06 16:56:43 +00:00
Merge pull request #4761 from fsateler/python3
Explicitly use python3 everywhere
This commit is contained in:
commit
920ec31b5f
|
@ -263,7 +263,7 @@ AC_ARG_WITH([python],
|
||||||
|
|
||||||
have_lxml=no
|
have_lxml=no
|
||||||
AS_IF([test "x$with_python" != "xno"], [
|
AS_IF([test "x$with_python" != "xno"], [
|
||||||
AM_PATH_PYTHON(,, [:])
|
AM_PATH_PYTHON([3],, [:])
|
||||||
AS_IF([test "x$PYTHON" != "x:"], [
|
AS_IF([test "x$PYTHON" != "x:"], [
|
||||||
AC_MSG_CHECKING([for python lxml module])
|
AC_MSG_CHECKING([for python lxml module])
|
||||||
AS_IF(["$PYTHON" -c 'import lxml' 2>/dev/null], [have_lxml=yes])
|
AS_IF(["$PYTHON" -c 'import lxml' 2>/dev/null], [have_lxml=yes])
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/python3
|
||||||
from __future__ import print_function
|
|
||||||
import sys
|
import sys
|
||||||
import argparse
|
import argparse
|
||||||
|
|
||||||
|
|
1
test/rule-syntax-check.py
Normal file → Executable file
1
test/rule-syntax-check.py
Normal file → Executable file
|
@ -1,3 +1,4 @@
|
||||||
|
#!/usr/bin/python3
|
||||||
# Simple udev rules syntax checker
|
# Simple udev rules syntax checker
|
||||||
#
|
#
|
||||||
# (C) 2010 Canonical Ltd.
|
# (C) 2010 Canonical Ltd.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/python3
|
||||||
#
|
#
|
||||||
# systemd-sysv-generator integration test
|
# systemd-sysv-generator integration test
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
#!/usr/bin/python3
|
||||||
# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
|
# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
|
||||||
#
|
#
|
||||||
# This file is part of systemd.
|
# This file is part of systemd.
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
#!/usr/bin/python3
|
||||||
# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
|
# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
|
||||||
#
|
#
|
||||||
# This file is part of systemd.
|
# This file is part of systemd.
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
#!/usr/bin/python3
|
||||||
# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
|
# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
|
||||||
#
|
#
|
||||||
# This file is part of systemd.
|
# This file is part of systemd.
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
#!/usr/bin/python3
|
||||||
# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
|
# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
|
||||||
#
|
#
|
||||||
# This file is part of systemd.
|
# This file is part of systemd.
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
#!/usr/bin/python3
|
||||||
# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
|
# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
|
||||||
#
|
#
|
||||||
# This file is part of systemd.
|
# This file is part of systemd.
|
||||||
|
|
Loading…
Reference in a new issue