diff options
author | Guido van Rossum <guido@python.org> | 1996-10-02 14:57:28 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-10-02 14:57:28 (GMT) |
commit | fe779a1dc8065dc175cb4ff454ed6d3a1944adf0 (patch) | |
tree | 43c508604c9c81ba9e516009f0819248f6c6a45a /Lib/rexec.py | |
parent | 7df3606f0d1ce7fb36c91a835809850331a72ca0 (diff) | |
download | cpython-fe779a1dc8065dc175cb4ff454ed6d3a1944adf0.zip cpython-fe779a1dc8065dc175cb4ff454ed6d3a1944adf0.tar.gz cpython-fe779a1dc8065dc175cb4ff454ed6d3a1944adf0.tar.bz2 |
Don't mix stdout/stderr.
Diffstat (limited to 'Lib/rexec.py')
-rw-r--r-- | Lib/rexec.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/rexec.py b/Lib/rexec.py index 0d1b5a1..b1e2122 100644 --- a/Lib/rexec.py +++ b/Lib/rexec.py @@ -298,7 +298,7 @@ class RExec(ihooks._Verbose): s = self.modules['sys'] s.stdin = self.restricted_stdin s.stdout = self.restricted_stdout - s.stderr = self.restricted_stdout + s.stderr = self.restricted_stderr sys.stdin = self.delegate_stdin sys.stdout = self.delegate_stdout sys.stderr = self.delegate_stderr @@ -308,7 +308,7 @@ class RExec(ihooks._Verbose): s = self.modules['sys'] self.restricted_stdin = s.stdin self.restricted_stdout = s.stdout - self.restricted_stdout = s.stderr + self.restricted_stderr = s.stderr def save_files(self): |