asyncio: Fix error message in BaseEventLoop.subprocess_shell(). Patch written

by Vajrasky Kok.
This commit is contained in:
Victor Stinner 2014-01-31 12:28:30 +01:00
parent dcd9740ad2
commit 323748e1d1
1 changed files with 1 additions and 1 deletions

View File

@ -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()