From: Sapan Bhatia <sapanb@cs.princeton.edu>
Date: Mon, 26 Oct 2009 15:29:39 +0000 (+0000)
Subject: The request context would need to be fetched in a more elaborate way at some point... 
X-Git-Tag: sfa-0.9-6~117
X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=1099e4ccf812abbb3fd7e1df7656fa4d16a9de39;p=sfa.git

The request context would need to be fetched in a more elaborate way at some point. For now, we return a hardcoded minimal context as a dict.
---

diff --git a/sfa/rspecs/aggregates/rspec_manager_pl.py b/sfa/rspecs/aggregates/rspec_manager_pl.py
index fb0bad77..51fb1295 100644
--- a/sfa/rspecs/aggregates/rspec_manager_pl.py
+++ b/sfa/rspecs/aggregates/rspec_manager_pl.py
@@ -1,5 +1,5 @@
 # Nothing here for now.
 
 def fetch_context(slice_hrn, user_hrn, contexts):
-    base_context = {'hrn':user_hrn}
+    base_context = {'sfa':{'user':{'hrn':user_hrn}}}
     return base_context