summaryrefslogtreecommitdiff
path: root/bin/spack-python
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2019-12-21 16:50:15 -0800
committerTodd Gamblin <tgamblin@llnl.gov>2019-12-23 23:18:46 -0800
commitf01368739741ef9b3bcc827f7dbc2ab9d5b48df4 (patch)
tree660434f6e4927d51b4dac181bb2ea24704150df5 /bin/spack-python
parent79ddf6cf0daa95ffef3aa1457b893bb245fa23de (diff)
downloadspack-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 'bin/spack-python')
0 files changed, 0 insertions, 0 deletions