[Python-3000-checkins] r61567 - python/branches/py3k/Tools/scripts/patchcheck.py
brett.cannon
python-3000-checkins at python.org
Tue Mar 18 22:45:58 CET 2008
Author: brett.cannon
Date: Tue Mar 18 22:45:57 2008
New Revision: 61567
Modified:
python/branches/py3k/Tools/scripts/patchcheck.py
Log:
Convert the input from stdout to text.
Modified: python/branches/py3k/Tools/scripts/patchcheck.py
==============================================================================
--- python/branches/py3k/Tools/scripts/patchcheck.py (original)
+++ python/branches/py3k/Tools/scripts/patchcheck.py Tue Mar 18 22:45:57 2008
@@ -33,7 +33,7 @@
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'):
More information about the Python-3000-checkins
mailing list