From 323748e1d1f5f3239476745d0eb83db3a1d9e224 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Fri, 31 Jan 2014 12:28:30 +0100 Subject: [PATCH] asyncio: Fix error message in BaseEventLoop.subprocess_shell(). Patch written by Vajrasky Kok. --- Lib/asyncio/base_events.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/asyncio/base_events.py b/Lib/asyncio/base_events.py index 05a4c3871c0..168e9cbdb32 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()