summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2014-01-07 16:50:09 (GMT)
committerRichard Maw <richard.maw@codethink.co.uk>2014-01-16 16:58:24 (GMT)
commit17628d7851fbaf284d03373e4fcfed28cb36bc59 (patch)
tree19e4acb5d6ac97473926fc0b102e414719d4f48f
parent7fb78e54f4c7206ff391fd4edb0ece200109f1e7 (diff)
downloadmorph-17628d7851fbaf284d03373e4fcfed28cb36bc59.tar.gz
MorphologyFactory: validate new fields using loader code
-rw-r--r--morphlib/morphologyfactory.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/morphlib/morphologyfactory.py b/morphlib/morphologyfactory.py
index e6fabd5..3462dd3 100644
--- a/morphlib/morphologyfactory.py
+++ b/morphlib/morphologyfactory.py
@@ -174,3 +174,5 @@ class MorphologyFactory(object):
morphology.builds_artifacts = [morphology['name']]
morphology.needs_artifact_metadata_cached = False
+
+ morphlib.morphloader.MorphologyLoader._validate_chunk(morphology)