summaryrefslogtreecommitdiff
path: root/morphlib/defaults.py
diff options
context:
space:
mode:
Diffstat (limited to 'morphlib/defaults.py')
-rw-r--r--morphlib/defaults.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/morphlib/defaults.py b/morphlib/defaults.py
index 85c8b711..86828baa 100644
--- a/morphlib/defaults.py
+++ b/morphlib/defaults.py
@@ -32,8 +32,9 @@ class Defaults(object):
self._build_systems = {}
self._split_rules = {}
- schema_path = os.path.join(morphlib.util.schemas_directory(),
- 'defaults.json-schema')
+ schema_path = os.path.join(
+ morphlib.util.schemas_directory(definitions_version),
+ 'defaults.json-schema')
with open(schema_path) as f:
self.schema = yaml.load(f)