diff options
author | Brian Curtin <brian.curtin@gmail.com> | 2010-09-07 13:24:38 (GMT) |
---|---|---|
committer | Brian Curtin <brian.curtin@gmail.com> | 2010-09-07 13:24:38 (GMT) |
commit | 19651369e4f195633aa4be97ce8ccdb97289af5f (patch) | |
tree | baaf5ddf04096eca4510b69ac509f095d6289cbe /Lib | |
parent | dc4872eefe2531e6627aa09818e95372a50e3b45 (diff) | |
download | cpython-19651369e4f195633aa4be97ce8ccdb97289af5f.zip cpython-19651369e4f195633aa4be97ce8ccdb97289af5f.tar.gz cpython-19651369e4f195633aa4be97ce8ccdb97289af5f.tar.bz2 |
Adjust #8956 to add the bad signal number to the exception message.
Diffstat (limited to 'Lib')
-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 e53b694..d699ed0 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("Unsupported signal") + raise ValueError("Unsupported signal: {}".format(sig)) def terminate(self): """Terminates the process |