]> git.ipfire.org Git - thirdparty/systemd.git/commit
tools: use print function in Python 3 code
authorLucas Werkmeister <mail@lucaswerkmeister.de>
Sat, 25 Aug 2018 16:41:42 +0000 (18:41 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 27 Aug 2018 12:22:32 +0000 (14:22 +0200)
commite12f39768344e2dd8540ddcd9aa186b7e68ca780
tree097f532045d826bdde5e551230d1d074d8ce481e
parent3301f9eb97be335bf4ce05fac44bafd1c45cb10c
tools: use print function in Python 3 code

This GDB script was converted to use Python 3 along with all other
Python scripts in commit b95f5528cc, but still used the Python 2 print
statement syntax instead of the Python 3 print function. Fix that.

We also add the Python 2 compatibility statement, just in case some GDB
still uses Python 2 instead of Python 3.
tools/gdb-sd_dump_hashmaps.py