diff options
author | Brian Curtin <brian.curtin@gmail.com> | 2010-09-06 16:29:29 +0000 |
---|---|---|
committer | Brian Curtin <brian.curtin@gmail.com> | 2010-09-06 16:29:29 +0000 |
commit | 5c997b8d90e8e531bf844f5618a203f0a12ac9dc (patch) | |
tree | 2c87a1004ae956e2d44202c9da45257c862c3020 /Lib/subprocess.py | |
parent | c734b312cb8316af0c036323b16caf23545cd21f (diff) | |
download | cpython-git-5c997b8d90e8e531bf844f5618a203f0a12ac9dc.tar.gz |
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.
Diffstat (limited to 'Lib/subprocess.py')
-rw-r--r-- | Lib/subprocess.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |