aboutsummaryrefslogtreecommitdiff
path: root/contrib/devtools/clang-format-diff.py
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/devtools/clang-format-diff.py')
-rwxr-xr-xcontrib/devtools/clang-format-diff.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/devtools/clang-format-diff.py b/contrib/devtools/clang-format-diff.py
index 98eee67f43..420bf7ff33 100755
--- a/contrib/devtools/clang-format-diff.py
+++ b/contrib/devtools/clang-format-diff.py
@@ -146,7 +146,7 @@ def main():
stdout=subprocess.PIPE,
stderr=None,
stdin=subprocess.PIPE,
- universal_newlines=True)
+ text=True)
stdout, stderr = p.communicate()
if p.returncode != 0:
sys.exit(p.returncode)