]> granicus.if.org Git - python/commitdiff
asyncio: Fix error message in BaseEventLoop.subprocess_shell(). Patch written
authorVictor Stinner <victor.stinner@gmail.com>
Fri, 31 Jan 2014 11:28:30 +0000 (12:28 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Fri, 31 Jan 2014 11:28:30 +0000 (12:28 +0100)
by Vajrasky Kok.

Lib/asyncio/base_events.py

index 05a4c3871c0451d2dfe11fa8a0ec22da19d7741e..168e9cbdb320c2edadd073e4aeeec0fb17945d77 100644 (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()