diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2019-12-21 16:50:15 -0800 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2019-12-23 23:18:46 -0800 |
commit | f01368739741ef9b3bcc827f7dbc2ab9d5b48df4 (patch) | |
tree | 660434f6e4927d51b4dac181bb2ea24704150df5 /LICENSE-MIT | |
parent | 79ddf6cf0daa95ffef3aa1457b893bb245fa23de (diff) | |
download | spack-f01368739741ef9b3bcc827f7dbc2ab9d5b48df4.tar.gz spack-f01368739741ef9b3bcc827f7dbc2ab9d5b48df4.tar.bz2 spack-f01368739741ef9b3bcc827f7dbc2ab9d5b48df4.tar.xz spack-f01368739741ef9b3bcc827f7dbc2ab9d5b48df4.zip |
performance: reduce system calls required for remove_dead_links
`os.path.exists()` will report False if the target of a symlink doesn't
exist, so we can avoid a costly call to realpath here.
Diffstat (limited to 'LICENSE-MIT')
0 files changed, 0 insertions, 0 deletions