summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2015-12-27 17:51:11 -0800
committerTodd Gamblin <tgamblin@llnl.gov>2015-12-27 17:51:11 -0800
commit39e360f93a374314c28716ded3b1533d66cd62be (patch)
treeb1562085d6e08a67af054a62aecc6ace649de35d /var
parent4e8e298eb3242cb25abe0cca315a74a100514dbf (diff)
downloadspack-39e360f93a374314c28716ded3b1533d66cd62be.tar.gz
spack-39e360f93a374314c28716ded3b1533d66cd62be.tar.bz2
spack-39e360f93a374314c28716ded3b1533d66cd62be.tar.xz
spack-39e360f93a374314c28716ded3b1533d66cd62be.zip
Add custom YAML loader & dumper to track lines & maintain dict order.
- Configs are now parsed with `spack.util.spack_yaml.load/dump` - Parser annotates returned data with `_start_mark` and `_end_mark` properties, so that we can recover what lines/files they came from. - Parser uses `OrderedDict` instead of `dict`. This will help maintain some sanity when round-tripping config files.
Diffstat (limited to 'var')
0 files changed, 0 insertions, 0 deletions