diff options
| author | Daniel Holth <dholth@fastmail.fm> | 2012-09-30 22:20:04 -0400 |
|---|---|---|
| committer | Daniel Holth <dholth@fastmail.fm> | 2012-09-30 22:20:04 -0400 |
| commit | 9ee6da6d6cab3fa171f2704df5f934474acc4aae (patch) | |
| tree | f9c611bb4773d0fdae8e0ddcaa64c9e86db4b286 | |
| parent | 0c29416788f972d781622d517039b1fdc600628d (diff) | |
| download | wheel-git-0.10.0.tar.gz | |
improve 'would overwrite' error message0.10.0
| -rw-r--r-- | wheel/install.py | 2 |
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. |
