summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2008-03-18 21:45:57 (GMT)
committerBrett Cannon <bcannon@gmail.com>2008-03-18 21:45:57 (GMT)
commit5396a665392d16849cdf9825a09d18044513c2e6 (patch)
tree37a0b98a38f68c5c55df5f173bef5fe61c115960 /Tools
parent87875dffbb9a9504e68b7c319cc03081385c1b77 (diff)
downloadcpython-5396a665392d16849cdf9825a09d18044513c2e6.zip
cpython-5396a665392d16849cdf9825a09d18044513c2e6.tar.gz
cpython-5396a665392d16849cdf9825a09d18044513c2e6.tar.bz2
Convert the input from stdout to text.
Diffstat (limited to 'Tools')
-rw-r--r--Tools/scripts/patchcheck.py2
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'):