Commit 8cb56c16 authored by Brian Curtin's avatar Brian Curtin

Merged revisions 84582 via svnmerge from

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

........
  r84582 | brian.curtin | 2010-09-07 08:24:38 -0500 (Tue, 07 Sep 2010) | 3 lines

  Adjust #8956 to add the bad signal number to the exception message.
........
parent ec77ea23
......@@ -993,7 +993,7 @@ class Popen(object):
elif sig == signal.CTRL_BREAK_EVENT:
os.kill(self.pid, signal.CTRL_BREAK_EVENT)
else:
raise ValueError("Unsupported signal")
raise ValueError("Unsupported signal: {}".format(sig))
def terminate(self):
"""Terminates the process
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment