summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Holth <dholth@fastmail.fm>2012-09-30 22:20:04 -0400
committerDaniel Holth <dholth@fastmail.fm>2012-09-30 22:20:04 -0400
commitc3695923f5a417e21eb08b9116e68ad232754f89 (patch)
treef9c611bb4773d0fdae8e0ddcaa64c9e86db4b286
parentebbb3129c634c11efaec74137d1b92d9ecc610c9 (diff)
downloadwheel-0.10.0.tar.gz
improve 'would overwrite' error message0.10.0
-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.