Merged revisions 84559 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r84559 | brian.curtin | 2010-09-06 11:29:29 -0500 (Mon, 06 Sep 2010) | 6 lines

  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:31:27 +00:00
parent 8426333a88
commit 9a0cb6a8d0
1 changed files with 1 additions and 1 deletions

View File

@ -993,7 +993,7 @@ class Popen(object):
elif sig == signal.CTRL_BREAK_EVENT: elif sig == signal.CTRL_BREAK_EVENT:
os.kill(self.pid, signal.CTRL_BREAK_EVENT) os.kill(self.pid, signal.CTRL_BREAK_EVENT)
else: else:
raise ValueError("Only SIGTERM is supported on Windows") raise ValueError("Unsupported signal")
def terminate(self): def terminate(self):
"""Terminates the process """Terminates the process