summaryrefslogtreecommitdiffstats
path: root/Lib/subprocess.py
diff options
context:
space:
mode:
authorBrian Curtin <brian.curtin@gmail.com>2010-09-06 16:29:29 (GMT)
committerBrian Curtin <brian.curtin@gmail.com>2010-09-06 16:29:29 (GMT)
commit5c997b8d90e8e531bf844f5618a203f0a12ac9dc (patch)
tree2c87a1004ae956e2d44202c9da45257c862c3020 /Lib/subprocess.py
parentc734b312cb8316af0c036323b16caf23545cd21f (diff)
downloadcpython-5c997b8d90e8e531bf844f5618a203f0a12ac9dc.zip
cpython-5c997b8d90e8e531bf844f5618a203f0a12ac9dc.tar.gz
cpython-5c997b8d90e8e531bf844f5618a203f0a12ac9dc.tar.bz2
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.py2
1 files changed, 1 insertions, 1 deletions
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