From 5c997b8d90e8e531bf844f5618a203f0a12ac9dc Mon Sep 17 00:00:00 2001 From: Brian Curtin Date: Mon, 6 Sep 2010 16:29:29 +0000 Subject: Fix #8956. ValueError message was only mentioning one signal. Rather than list out the three signals (or more over time), the message was made less specific but still descriptive. --- Lib/subprocess.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/subprocess.py b/Lib/subprocess.py index e41ffe3..e53b694 100644 --- a/Lib/subprocess.py +++ b/Lib/subprocess.py @@ -983,7 +983,7 @@ class Popen(object): elif sig == signal.CTRL_BREAK_EVENT: os.kill(self.pid, signal.CTRL_BREAK_EVENT) else: - raise ValueError("Only SIGTERM is supported on Windows") + raise ValueError("Unsupported signal") def terminate(self): """Terminates the process -- cgit v0.12