diff options
| author | Victor Stinner <victor.stinner@gmail.com> | 2014-01-31 11:28:30 (GMT) |
|---|---|---|
| committer | Victor Stinner <victor.stinner@gmail.com> | 2014-01-31 11:28:30 (GMT) |
| commit | 323748e1d1f5f3239476745d0eb83db3a1d9e224 (patch) | |
| tree | 5f0a349146b69e1fd40c6e687f6e95c007035ff4 /Lib/asyncio/base_events.py | |
| parent | dcd9740ad2932f4049e912d8721933696373fe4c (diff) | |
| download | cpython-323748e1d1f5f3239476745d0eb83db3a1d9e224.zip cpython-323748e1d1f5f3239476745d0eb83db3a1d9e224.tar.gz cpython-323748e1d1f5f3239476745d0eb83db3a1d9e224.tar.bz2 | |
asyncio: Fix error message in BaseEventLoop.subprocess_shell(). Patch written
by Vajrasky Kok.
Diffstat (limited to 'Lib/asyncio/base_events.py')
| -rw-r--r-- | Lib/asyncio/base_events.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/asyncio/base_events.py b/Lib/asyncio/base_events.py index 05a4c38..168e9cb 100644 --- a/Lib/asyncio/base_events.py +++ b/Lib/asyncio/base_events.py @@ -557,7 +557,7 @@ class BaseEventLoop(events.AbstractEventLoop): if universal_newlines: raise ValueError("universal_newlines must be False") if not shell: - raise ValueError("shell must be False") + raise ValueError("shell must be True") if bufsize != 0: raise ValueError("bufsize must be 0") protocol = protocol_factory() |
