From 5396a665392d16849cdf9825a09d18044513c2e6 Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Tue, 18 Mar 2008 21:45:57 +0000 Subject: Convert the input from stdout to text. --- Tools/scripts/patchcheck.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/scripts/patchcheck.py b/Tools/scripts/patchcheck.py index 4ad45a1426..73b190a25c 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'): -- cgit v1.2.1