diff options
author | Brett Cannon <bcannon@gmail.com> | 2008-03-18 21:45:57 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2008-03-18 21:45:57 (GMT) |
commit | 5396a665392d16849cdf9825a09d18044513c2e6 (patch) | |
tree | 37a0b98a38f68c5c55df5f173bef5fe61c115960 /Tools/scripts | |
parent | 87875dffbb9a9504e68b7c319cc03081385c1b77 (diff) | |
download | cpython-5396a665392d16849cdf9825a09d18044513c2e6.zip cpython-5396a665392d16849cdf9825a09d18044513c2e6.tar.gz cpython-5396a665392d16849cdf9825a09d18044513c2e6.tar.bz2 |
Convert the input from stdout to text.
Diffstat (limited to 'Tools/scripts')
-rw-r--r-- | Tools/scripts/patchcheck.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/scripts/patchcheck.py b/Tools/scripts/patchcheck.py index 4ad45a1..73b190a 100644 --- a/Tools/scripts/patchcheck.py +++ b/Tools/scripts/patchcheck.py @@ -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'): |