diff options
author | scheibelp <scheibel1@llnl.gov> | 2016-10-29 13:56:34 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2016-10-29 13:56:34 -0700 |
commit | 23683c65de5c0f2cf4a899c5ee1109cc5a078bd1 (patch) | |
tree | 51d299357f46987ea2e5641bcfa42b02e1b45abc /.flake8 | |
parent | c82985cb5e280981a1064855f1577c9a22ac5700 (diff) | |
download | spack-23683c65de5c0f2cf4a899c5ee1109cc5a078bd1.tar.gz spack-23683c65de5c0f2cf4a899c5ee1109cc5a078bd1.tar.bz2 spack-23683c65de5c0f2cf4a899c5ee1109cc5a078bd1.tar.xz spack-23683c65de5c0f2cf4a899c5ee1109cc5a078bd1.zip |
Use Spec.format for token substitution in modules (#1848)
This replaces a custom token-based substitution format with calls to
Spec.format in modules.py
This also resolves a couple issues:
- LmodModules set configuration globally instead of in its initializer
which meant test-specific configuration was not applied
- Added support for setting hash_length=0 for LmodModules. This only
affects the module filename and not the directory names for the
hierarchy tokens in the path. This includes an additional unit test.
Diffstat (limited to '.flake8')
0 files changed, 0 insertions, 0 deletions