commit | 19651369e4f195633aa4be97ce8ccdb97289af5f | [log] [tgz] |
---|---|---|
author | Brian Curtin <brian.curtin@gmail.com> | Tue Sep 07 13:24:38 2010 +0000 |
committer | Brian Curtin <brian.curtin@gmail.com> | Tue Sep 07 13:24:38 2010 +0000 |
tree | baaf5ddf04096eca4510b69ac509f095d6289cbe | |
parent | dc4872eefe2531e6627aa09818e95372a50e3b45 [diff] [blame] |
Adjust #8956 to add the bad signal number to the exception message.
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 @@ 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