diff options
author | mrmagooey <peter.davis8@gmail.com> | 2018-09-21 22:40:30 +0200 |
---|---|---|
committer | Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua> | 2018-09-21 22:40:30 +0200 |
commit | 991f61c138bb0dd52789252eb09ac12d54ae2724 (patch) | |
tree | 6c5d59fbd5ba7b3bad08d18deecf12df82381419 /setup.py | |
parent | Add 'signalled' state to supervisorctl module with associated 'signal' parame... (diff) | |
download | ansible-991f61c138bb0dd52789252eb09ac12d54ae2724.tar.xz ansible-991f61c138bb0dd52789252eb09ac12d54ae2724.zip |
Improve symlink install error message in setup.py
PR #45132
Co-authored-by: Sviatoslav Sydorenko <wk@sydorenko.org.ua>
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -79,7 +79,11 @@ def _maintain_symlinks(symlink_type, base_path): if 'ansible-playbook' in symlink_data['script']['ansible']: _cache_symlinks(symlink_data) else: - raise + raise RuntimeError( + "Pregenerated symlink list was not present and expected " + "symlinks in ./bin were missing or broken. " + "Perhaps this isn't a git checkout?" + ) else: raise symlinks = symlink_data[symlink_type] |