mirror of https://github.com/ARMmbed/mbed-os.git
Added universal_newlines flag to Popen in pylint.py
parent
2a9a45d087
commit
533dcf36ff
|
@ -26,7 +26,8 @@ def execute_pylint(filename):
|
|||
process = subprocess.Popen(
|
||||
["pylint", filename],
|
||||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.PIPE
|
||||
stderr=subprocess.PIPE,
|
||||
universal_newlines=True
|
||||
)
|
||||
stout, sterr = process.communicate()
|
||||
status = process.poll()
|
||||
|
|
Loading…
Reference in New Issue