diff options
| author | Guido van Rossum <guido@python.org> | 2007-08-27 23:58:21 +0000 |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 2007-08-27 23:58:21 +0000 |
| commit | bb839ef8ac446b0cb80ab4b818b111068af6a65c (patch) | |
| tree | e1fdb8d74b5ced2058a8972ee1342cc07be51eac /Lib/subprocess.py | |
| parent | f6db40994f004a85c8ea987dca6eef2461d92407 (diff) | |
| download | cpython-git-bb839ef8ac446b0cb80ab4b818b111068af6a65c.tar.gz | |
More str/bytes goodness.
Diffstat (limited to 'Lib/subprocess.py')
| -rw-r--r-- | Lib/subprocess.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/subprocess.py b/Lib/subprocess.py index 1ae74268a2..362d59ad15 100644 --- a/Lib/subprocess.py +++ b/Lib/subprocess.py @@ -553,8 +553,8 @@ class Popen(object): def _translate_newlines(self, data): - data = data.replace("\r\n", "\n") - data = data.replace("\r", "\n") + data = data.replace(b"\r\n", b"\n") + data = data.replace(b"\r", b"\n") return str(data) |
