aboutsummaryrefslogtreecommitdiff
path: root/src/hydrilla/builder
diff options
context:
space:
mode:
Diffstat (limited to 'src/hydrilla/builder')
-rw-r--r--src/hydrilla/builder/build.py4
m---------src/hydrilla/builder/schemas0
2 files changed, 1 insertions, 3 deletions
diff --git a/src/hydrilla/builder/build.py b/src/hydrilla/builder/build.py
index d89ead3..dae5579 100644
--- a/src/hydrilla/builder/build.py
+++ b/src/hydrilla/builder/build.py
@@ -35,9 +35,7 @@ import jsonschema
from .. import util
-here = Path(__file__).resolve().parent
-with open(here / 'schemas' / 'package_source-1.schema.json') as schema_file:
- index_json_schema = json.load(schema_file)
+index_json_schema = util.load_schema('package_source-1.schema.json')
class FileReferenceError(Exception):
"""
diff --git a/src/hydrilla/builder/schemas b/src/hydrilla/builder/schemas
deleted file mode 160000
-Subproject ca1de2ed4a69a71f2f75552ade693d04ea1baa8