summaryrefslogtreecommitdiff
path: root/.flake8_packages
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2019-09-10 17:29:46 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2019-12-31 13:48:01 -0800
commit9cc013cc0fbff030be386ed3af5f6a826b97ca5f (patch)
treeb1e87f0fcc6f891b687ba75969929ee0aaf55f1d /.flake8_packages
parent58cb4e5241dc5f1f707e4fbaad59759d4b982535 (diff)
downloadspack-9cc013cc0fbff030be386ed3af5f6a826b97ca5f.tar.gz
spack-9cc013cc0fbff030be386ed3af5f6a826b97ca5f.tar.bz2
spack-9cc013cc0fbff030be386ed3af5f6a826b97ca5f.tar.xz
spack-9cc013cc0fbff030be386ed3af5f6a826b97ca5f.zip
modules: make the module hook more robust
The module hook would previously fail if there were no enabled module types. - Instead of looking for a `KeyError`, default to empty list when the config variable is not present. - Convert lambdas to real functions for clarity.
Diffstat (limited to '.flake8_packages')
0 files changed, 0 insertions, 0 deletions