summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorGreg Becker <becker33@llnl.gov>2020-12-23 20:29:38 -0800
committerGitHub <noreply@github.com>2020-12-23 20:29:38 -0800
commit6947951aaf9954b1dfd12ca7a9266d7335f07105 (patch)
tree62e9c3800609143b366711072dcf192ce7eca8f9 /var
parent91e86f9d0d2d417486fbb95b519355667e0fbf2c (diff)
downloadspack-6947951aaf9954b1dfd12ca7a9266d7335f07105.tar.gz
spack-6947951aaf9954b1dfd12ca7a9266d7335f07105.tar.bz2
spack-6947951aaf9954b1dfd12ca7a9266d7335f07105.tar.xz
spack-6947951aaf9954b1dfd12ca7a9266d7335f07105.zip
bugfix: do not write empty default dicts/lists in envs (#20526)
Environment yaml files should not have default values written to them. To accomplish this, we change the validator to not add the default values to yaml. We rely on the code to set defaults for all values (and use defaulting getters like dict.get(key, default)). Includes regression test.
Diffstat (limited to 'var')
0 files changed, 0 insertions, 0 deletions