summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wheel/install.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wheel/install.py b/wheel/install.py
index 6230253..ae1cc7c 100644
--- a/wheel/install.py
+++ b/wheel/install.py
@@ -250,7 +250,7 @@ class WheelFile(object):
for k, v in name_trans.items():
key, target, filename, dest = v
if os.path.exists(dest):
- raise ValueError("Wheel file {} would overwrite an existing file. Use force if this is intended".format(k))
+ raise ValueError("Wheel file {} would overwrite {}. Use force if this is intended".format(k, dest))
# Get the name of our executable, for use when replacing script
# wrapper hashbang lines.