summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJavier Jardón <javier.jardon@codethink.co.uk>2015-03-12 17:06:17 +0000
committerJavier Jardón <jjardon@gnome.org>2015-03-17 11:24:23 +0000
commit9987fccdfc113670e323f40a58f22c69328833a7 (patch)
tree0ac9d09f98d7a7987d73ba53dbba6d3784589f1c /tests
parentcd7fa4119a3850541566b7d20d69515256e0b310 (diff)
downloadmorph-baserock-definitions-v1.tar.gz
morphlib/sourceresolver.py: Fail if morph doesnt support the version of definitions formatbaserock-definitions-v1
This patch will add the following restriction: if VERSION exist and its a YAML file and its a dict and has the key 'version' and the type stored in the 'version' key is an int and that int is not in the supported format, then fail. So, if someone is using 'version: 4' in VERSION, morph will fail (as opposed to current morph, that will not fail in the check but will likely fail when it tries to compile) Change-Id: I555f7e6018b9bdf18c80039df92a253acbd51c8c
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions