]> git.ipfire.org Git - thirdparty/systemd.git/commit
tools: make update-dbus-docs compatible with Python 3.6
authorAnita Zhang <the.anitazha@gmail.com>
Mon, 1 Feb 2021 03:04:34 +0000 (19:04 -0800)
committerLuca Boccassi <luca.boccassi@gmail.com>
Mon, 1 Feb 2021 11:21:10 +0000 (11:21 +0000)
commit934d0d023e33aa38c56e1e12118be8ddbd839284
tree07bce64e00ce22f56361bd054dca8c4a4f04816b
parenta3c5d7e95ba3cf6557c7b23e900e37c066fba392
tools: make update-dbus-docs compatible with Python 3.6

668b3a42fe9e250912bd3efa4460ed691452d9bf allowed update-dbus-docs.py to start
running on Cent OS 8 (instead of skipping). But subprocess.check_output()'s
text argument didn't exist until Python 3.7 and C8 is still running
Python 3.6. Use universal_newlines instead for backwards compatibility.
tools/update-dbus-docs.py