summaryrefslogtreecommitdiff
path: root/tools/update-dbus-docs.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/update-dbus-docs.py')
-rwxr-xr-xtools/update-dbus-docs.py2
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