utils: Replace check-style.py parameter with backward-compatible alias

Updates commit 063d86c09 with fix suggested in #230
This commit is contained in:
Tom Henderson
2020-06-27 11:00:32 -07:00
parent 270766a631
commit bbcd692716

View File

@@ -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)