summaryrefslogtreecommitdiff
path: root/Lib/subprocess.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/subprocess.py')
-rw-r--r--Lib/subprocess.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/subprocess.py b/Lib/subprocess.py
index e53b69456e..d699ed07ce 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