spack/lib
Todd Gamblin 9cc013cc0f 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.
2019-12-31 13:48:01 -08:00
..
spack modules: make the module hook more robust 2019-12-31 13:48:01 -08:00