From: Victor Stinner <victor.stinner@gmail.com> Date: Fri, 31 Jan 2014 11:28:30 +0000 (+0100) Subject: asyncio: Fix error message in BaseEventLoop.subprocess_shell(). Patch written X-Git-Tag: v3.4.0rc1~166 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=323748e1d1f5f3239476745d0eb83db3a1d9e224;p=python asyncio: Fix error message in BaseEventLoop.subprocess_shell(). Patch written by Vajrasky Kok. --- diff --git a/Lib/asyncio/base_events.py b/Lib/asyncio/base_events.py index 05a4c3871c..168e9cbdb3 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()