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.
This commit is contained in:
Brian Curtin 2010-09-06 16:29:29 +00:00
parent c734b312cb
commit 5c997b8d90

View file

@ -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