From 592df20efcc41d2448c8acc35b3b4f15aa5c0bf2 Mon Sep 17 00:00:00 2001 From: Andrew Svetlov Date: Wed, 15 Aug 2012 17:36:15 +0300 Subject: Cleanup universal_newlines usage for subprocess.Popen, remove unused param. --- Lib/subprocess.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Lib/subprocess.py b/Lib/subprocess.py index 35f6f96..d9f14fa 100644 --- a/Lib/subprocess.py +++ b/Lib/subprocess.py @@ -797,7 +797,7 @@ class Popen(object): if p2cwrite != -1: self.stdin = io.open(p2cwrite, 'wb', bufsize) - if self.universal_newlines: + if universal_newlines: self.stdin = io.TextIOWrapper(self.stdin, write_through=True) if c2pread != -1: self.stdout = io.open(c2pread, 'rb', bufsize) @@ -810,7 +810,7 @@ class Popen(object): try: self._execute_child(args, executable, preexec_fn, close_fds, - pass_fds, cwd, env, universal_newlines, + pass_fds, cwd, env, startupinfo, creationflags, shell, p2cread, p2cwrite, c2pread, c2pwrite, @@ -1035,7 +1035,7 @@ class Popen(object): def _execute_child(self, args, executable, preexec_fn, close_fds, - pass_fds, cwd, env, universal_newlines, + pass_fds, cwd, env, startupinfo, creationflags, shell, p2cread, p2cwrite, c2pread, c2pwrite, @@ -1307,7 +1307,7 @@ class Popen(object): def _execute_child(self, args, executable, preexec_fn, close_fds, - pass_fds, cwd, env, universal_newlines, + pass_fds, cwd, env, startupinfo, creationflags, shell, p2cread, p2cwrite, c2pread, c2pwrite, -- cgit v0.12