diff options
author | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-08-15 14:36:15 (GMT) |
---|---|---|
committer | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-08-15 14:36:15 (GMT) |
commit | 592df20efcc41d2448c8acc35b3b4f15aa5c0bf2 (patch) | |
tree | e72cef64a5289315757d641175863b0423d80341 /Lib/subprocess.py | |
parent | bdbc0b08d07c73133ac46dc8e51057459c11d97f (diff) | |
download | cpython-592df20efcc41d2448c8acc35b3b4f15aa5c0bf2.zip cpython-592df20efcc41d2448c8acc35b3b4f15aa5c0bf2.tar.gz cpython-592df20efcc41d2448c8acc35b3b4f15aa5c0bf2.tar.bz2 |
Cleanup universal_newlines usage for subprocess.Popen, remove unused param.
Diffstat (limited to 'Lib/subprocess.py')
-rw-r--r-- | Lib/subprocess.py | 8 |
1 files 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, |