systemd/tools
Luca Boccassi 87d25bdead make-autosuspend-rules: restore compatibility with Python3 < 3.6
The f'...' format was introduced in Python 3.6 ( https://www.python.org/dev/peps/pep-0498/ )
and returns an error when systemd is built on a system with an older Python3 version:

<...>
  File /home/bluca/git/systemd/tools/make-autosuspend-rules.py, line 15
    print(f'pci:v{vendor:08X}d{device:08X}*')
                                           ^
SyntaxError: invalid syntax
[2/388] Generating version.h with a custom command.
ninja: build stopped: subcommand failed.
$ python3 --version
Python 3.5.6

Use an older format to keep backward compatibility.
2020-06-23 21:02:15 +02:00
..
chromiumos chromiumos: sync auto suspend rules with chromeos commit e348a229bacc3 2020-02-07 13:22:05 +09:00
add-git-hook.sh scripts: use 4 space indentation 2019-04-12 08:30:31 +02:00
autosuspend-update.sh meson: drop "meson-" prefix from various helper script filenames 2020-05-07 13:57:48 +02:00
catalog-report.py tree-wide: drop header for emacs from python scripts 2018-12-10 03:17:33 +09:00
check-api-docs.sh meson: drop "meson-" prefix from various helper script filenames 2020-05-07 13:57:48 +02:00
check-compilation.sh meson: drop "meson-" prefix from various helper script filenames 2020-05-07 13:57:48 +02:00
check-directives.sh treewide: more portable bash shebangs 2020-03-05 17:27:07 +01:00
check-help.sh meson: drop "meson-" prefix from various helper script filenames 2020-05-07 13:57:48 +02:00
check-includes.pl Drop "Copyright abandonded" header 2018-07-24 11:14:44 +02:00
choose-default-locale.sh scripts: use 4 space indentation 2019-04-12 08:30:31 +02:00
coverity.sh treewide: more portable bash shebangs 2020-03-05 17:27:07 +01:00
find-build-dir.sh scripts: use 4 space indentation 2019-04-12 08:30:31 +02:00
find-double-newline.sh scripts: use 4 space indentation 2019-04-12 08:30:31 +02:00
find-tabs.sh scripts: use 4 space indentation 2019-04-12 08:30:31 +02:00
gdb-sd_dump_hashmaps.py gdb: make output a bit nicer 2020-05-30 11:40:53 +02:00
generate-gperfs.py tools: add one more SPDX license header 2018-12-10 03:08:52 +09:00
git-contrib.sh meson: drop "meson-" prefix from various helper script filenames 2020-05-07 13:57:48 +02:00
hwdb-update.sh meson: drop "meson-" prefix from various helper script filenames 2020-05-07 13:57:48 +02:00
make-autosuspend-rules.py make-autosuspend-rules: restore compatibility with Python3 < 3.6 2020-06-23 21:02:15 +02:00
make-directive-index.py man: put all pages which mention a specifier in the index 2020-05-07 16:30:10 +02:00
make-man-index.py man: drop obsolete HAVE_PYTHON conditional 2020-06-13 17:31:59 +02:00
meson-apply-m4.sh scripts: use 4 space indentation 2019-04-12 08:30:31 +02:00
meson-build.sh meson: use same compilers to build fuzzers 2018-10-09 11:54:10 +02:00
meson-make-symlink.sh test: move TEST-08-ISSUE-2730 setup to static files and meson scripts 2020-03-28 11:46:47 +01:00
meson-vcs-tag.sh treewide: more portable bash shebangs 2020-03-05 17:27:07 +01:00
oss-fuzz.sh oss-fuzz: turn on the pointer-overflow check 2020-05-21 08:52:18 +02:00
update-dbus-docs.py update-dbus-docs: use executables in build/ 2020-05-05 22:41:23 +02:00
update-man-rules.py update-man-rules: properly filter out directives index again 2020-06-13 17:31:59 +02:00
xml_helper.py tree-wide: drop header for emacs from python scripts 2018-12-10 03:17:33 +09:00