diff options
author | Brian Curtin <brian.curtin@gmail.com> | 2010-09-07 13:27:20 (GMT) |
---|---|---|
committer | Brian Curtin <brian.curtin@gmail.com> | 2010-09-07 13:27:20 (GMT) |
commit | e80513c207e7f24bfcb5bdd5113c92ef63f0c632 (patch) | |
tree | b6c8989190a0aa0f337d5cadd242203eb975d68a | |
parent | 34e0de135df44fafad6f1f44240fdbad3b067616 (diff) | |
download | cpython-e80513c207e7f24bfcb5bdd5113c92ef63f0c632.zip cpython-e80513c207e7f24bfcb5bdd5113c92ef63f0c632.tar.gz cpython-e80513c207e7f24bfcb5bdd5113c92ef63f0c632.tar.bz2 |
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.
........
-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 1691c05..24bf321 100644 --- a/Lib/subprocess.py +++ b/Lib/subprocess.py @@ -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 |