aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/hydrilla/server/serve.py3
m---------src/test/source-package-example0
2 files changed, 2 insertions, 1 deletions
diff --git a/src/hydrilla/server/serve.py b/src/hydrilla/server/serve.py
index 815ac63..d56085c 100644
--- a/src/hydrilla/server/serve.py
+++ b/src/hydrilla/server/serve.py
@@ -108,7 +108,8 @@ class ResourceInfo(ItemInfo):
"""Initialize ResourceInfo using resource definition read from JSON."""
super().__init__(resource_obj)
- self.dependencies = resource_obj.get('dependencies', [])
+ dependencies = resource_obj.get('dependencies', [])
+ self.dependencies = [res_ref['identifier'] for res_ref in dependencies]
class MappingInfo(ItemInfo):
"""Shortened data of a mapping."""
diff --git a/src/test/source-package-example b/src/test/source-package-example
-Subproject e571b3911f198e3feccc8d06390c79131f9cf09
+Subproject 26c4622417cb786825b1b18083adfe5ce44b275