From: Brian Curtin Date: Mon, 6 Sep 2010 16:29:29 +0000 (+0000) Subject: Fix #8956. ValueError message was only mentioning one signal. X-Git-Tag: v3.2a3~420 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5c997b8d90e8e531bf844f5618a203f0a12ac9dc;p=python 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. --- diff --git a/Lib/subprocess.py b/Lib/subprocess.py index e41ffe3869..e53b69456e 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