mirror of
https://github.com/python/cpython.git
synced 2025-07-09 20:35:26 +00:00
Convert the input from stdout to text.
This commit is contained in:
parent
87875dffbb
commit
5396a66539
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ def changed_files():
|
|||
cmd = 'svn status --quiet --non-interactive --ignore-externals'
|
||||
svn_st = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE)
|
||||
svn_st.wait()
|
||||
output = [line.strip() for line in svn_st.stdout.readlines()]
|
||||
output = [x.decode().rstrip() for x in svn_st.stdout.readlines()]
|
||||
files = set()
|
||||
for line in output:
|
||||
if not line[0] in ('A', 'M'):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue