diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2018-05-12 22:19:11 -0700 |
---|---|---|
committer | scheibelp <scheibel1@llnl.gov> | 2018-05-17 14:10:30 -0700 |
commit | 3493f7e793e5bf5fdc0c51978ea476185025c192 (patch) | |
tree | 5ae0a5fed870501a2f3b8029f51ba7ffda2d0a47 /var | |
parent | 1fe5dbf338ed2d937a22cb32d75fb599dd00abf3 (diff) | |
download | spack-3493f7e793e5bf5fdc0c51978ea476185025c192.tar.gz spack-3493f7e793e5bf5fdc0c51978ea476185025c192.tar.bz2 spack-3493f7e793e5bf5fdc0c51978ea476185025c192.tar.xz spack-3493f7e793e5bf5fdc0c51978ea476185025c192.zip |
init: make spack.cmd.all_commands lazy
- `spack.cmd.all_commands` does a directory listing on
`lib/spack/spack/cmd`, regardless of whether it is needed
- make this lazy so that the directory listing won't happen unless it's
necessary.
Diffstat (limited to 'var')
0 files changed, 0 insertions, 0 deletions