diff options
author | Peter Scheibel <scheibel1@llnl.gov> | 2022-09-14 13:02:51 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-14 13:02:51 -0700 |
commit | 7971985a06fd5d712406539389ffeff07cbeaec4 (patch) | |
tree | 97c1741e43b2a89878abcdfa0ab9e51d22286481 /etc | |
parent | ebb20eb8f8fcd2cf01fc127e82759e7050f4b074 (diff) | |
download | spack-7971985a06fd5d712406539389ffeff07cbeaec4.tar.gz spack-7971985a06fd5d712406539389ffeff07cbeaec4.tar.bz2 spack-7971985a06fd5d712406539389ffeff07cbeaec4.tar.xz spack-7971985a06fd5d712406539389ffeff07cbeaec4.zip |
Manifest parsing: skip invalid manifest files (#32467)
* catch json schema errors and reraise as property of SpackError
* no need to catch subclass of given error
* Builtin json library for Python 2 uses more generic type
* Correct instantiation of SpackError (requires a string rather than an exception)
* Use exception chaining (where possible)
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions