utils: Replace check-style.py parameter with backward-compatible alias
Updates commit 063d86c09 with fix suggested in #230
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user