diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/update-dbus-docs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/update-dbus-docs.py b/tools/update-dbus-docs.py index 269b2196a2..b453a0867e 100755 --- a/tools/update-dbus-docs.py +++ b/tools/update-dbus-docs.py @@ -197,7 +197,7 @@ def subst_output(document, programlisting, stats): print(f'COMMAND: {shlex_join(argv)}') try: - out = subprocess.check_output(argv, text=True) + out = subprocess.check_output(argv, universal_newlines=True) except FileNotFoundError: print(f'{executable} not found, ignoring', file=sys.stderr) return |