Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar_network/resources/volume.py
diff options
context:
space:
mode:
Diffstat (limited to 'sugar_network/resources/volume.py')
-rw-r--r--sugar_network/resources/volume.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sugar_network/resources/volume.py b/sugar_network/resources/volume.py
index df43c26..c849570 100644
--- a/sugar_network/resources/volume.py
+++ b/sugar_network/resources/volume.py
@@ -288,11 +288,12 @@ class VolumeCommands(ad.VolumeCommands):
"""
enforce(document == 'context')
+ context = self.volume['context'].get(guid)
versions, total = self.volume['implementation'].find(
limit=1, order_by='-version', context=guid, layer=layer)
enforce(total, ad.NotFound, 'No implementations')
- result = []
+ result = context['dependencies']
spec = [i for i in versions][0]['spec']
for dep in spec.get('*-*', {}).get('requires', {}).keys():