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:
commit
920ec31b5f
@ -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])
|
||||
|
@ -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
1
test/rule-syntax-check.py
Normal file → Executable file
@ -1,3 +1,4 @@
|
||||
#!/usr/bin/python3
|
||||
# Simple udev rules syntax checker
|
||||
#
|
||||
# (C) 2010 Canonical Ltd.
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python
|
||||
#!/usr/bin/python3
|
||||
#
|
||||
# systemd-sysv-generator integration test
|
||||
#
|
||||
|
@ -1,3 +1,4 @@
|
||||
#!/usr/bin/python3
|
||||
# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
|
||||
#
|
||||
# This file is part of systemd.
|
||||
|
@ -1,3 +1,4 @@
|
||||
#!/usr/bin/python3
|
||||
# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
|
||||
#
|
||||
# This file is part of systemd.
|
||||
|
@ -1,3 +1,4 @@
|
||||
#!/usr/bin/python3
|
||||
# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
|
||||
#
|
||||
# This file is part of systemd.
|
||||
|
@ -1,3 +1,4 @@
|
||||
#!/usr/bin/python3
|
||||
# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
|
||||
#
|
||||
# This file is part of systemd.
|
||||
|
@ -1,3 +1,4 @@
|
||||
#!/usr/bin/python3
|
||||
# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
|
||||
#
|
||||
# This file is part of systemd.
|
||||
|
Loading…
Reference in New Issue
Block a user