diff options
author | Massimiliano Culpo <massimiliano.culpo@googlemail.com> | 2017-08-17 06:37:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-17 06:37:09 +0200 |
commit | c16a68f517ca1bd08a7dde454fac850e4c3b6013 (patch) | |
tree | 20bfb84a7c4539460a7fcffbff8761775ef87c3c | |
parent | 1c8bdd7e24375510a20d7cb617c213bc8b01cbd1 (diff) | |
download | spack-c16a68f517ca1bd08a7dde454fac850e4c3b6013.tar.gz spack-c16a68f517ca1bd08a7dde454fac850e4c3b6013.tar.bz2 spack-c16a68f517ca1bd08a7dde454fac850e4c3b6013.tar.xz spack-c16a68f517ca1bd08a7dde454fac850e4c3b6013.zip |
Relaxed constraints on config.yaml structure (#5115)
This PR allows additional unused properties at the top-level of the config.yaml file. Having these properties permits to use two different versions of Spack, one of which adds a new property, without receiving error messages due to the presence of this new property in a configuration cache stored in the user's home.
-rw-r--r-- | lib/spack/spack/schema/config.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/spack/spack/schema/config.py b/lib/spack/spack/schema/config.py index abcb8d6051..73b59ea3c7 100644 --- a/lib/spack/spack/schema/config.py +++ b/lib/spack/spack/schema/config.py @@ -38,7 +38,6 @@ schema = { 'config': { 'type': 'object', 'default': {}, - 'additionalProperties': False, 'properties': { 'install_tree': {'type': 'string'}, 'install_hash_length': {'type': 'integer', 'minimum': 1}, |