From bbcd692716d9ecf847da9a3f0534b3a29b43bfc9 Mon Sep 17 00:00:00 2001 From: Tom Henderson Date: Sat, 27 Jun 2020 11:00:32 -0700 Subject: [PATCH] utils: Replace check-style.py parameter with backward-compatible alias Updates commit 063d86c09 with fix suggested in #230 --- utils/check-style.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/check-style.py b/utils/check-style.py index f470c849f..2492579a8 100755 --- a/utils/check-style.py +++ b/utils/check-style.py @@ -448,7 +448,7 @@ def indent(source, debug, level): stdin = subprocess.PIPE, stdout = subprocess.PIPE, stderr = subprocess.PIPE, - text = True) + universal_newlines = True) (out, err) = uncrust.communicate('') if debug: sys.stderr.write(out) @@ -489,7 +489,7 @@ def indent(source, debug, level): stdin = subprocess.PIPE, stdout = subprocess.PIPE, stderr = subprocess.PIPE, - text = True) + universal_newlines = True) (out, err) = patch.communicate('') if debug: sys.stderr.write(out)