Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar_network/node/model.py
diff options
context:
space:
mode:
Diffstat (limited to 'sugar_network/node/model.py')
-rw-r--r--sugar_network/node/model.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sugar_network/node/model.py b/sugar_network/node/model.py
index b1cb401..144dab0 100644
--- a/sugar_network/node/model.py
+++ b/sugar_network/node/model.py
@@ -181,7 +181,7 @@ def solve(volume, top_context, command=None, lsb_id=None, lsb_release=None,
if context in context_clauses:
return context_clauses[context]
context = volume['context'][context]
- enforce(context.exists, http.NotFound, 'Context not found')
+ enforce(context.available, http.NotFound, 'Context not found')
releases = context['releases']
clause = []