Added universal_newlines flag to Popen in pylint.py

pull/9646/head
Cruz Monrreal II 2019-01-23 22:21:18 -06:00 committed by adbridge
parent b6dcf89e61
commit 13ad6f6694
1 changed files with 2 additions and 1 deletions

View File

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