From: Anil-Kumar Vengalil Date: Thu, 14 Jan 2010 11:07:47 +0000 (+0000) Subject: currently, this conversion is done in the respective methods, i.e in get_resources... X-Git-Tag: sfa-0.9-9~9 X-Git-Url: http://git.onelab.eu/?p=sfa.git;a=commitdiff_plain;h=44d31124c0515a06349da11e5db766d1b1b1fe18 currently, this conversion is done in the respective methods, i.e in get_resources and create_slice --- diff --git a/sfa/managers/slice_manager_pl.py b/sfa/managers/slice_manager_pl.py index 665ac392..72ea567d 100644 --- a/sfa/managers/slice_manager_pl.py +++ b/sfa/managers/slice_manager_pl.py @@ -218,8 +218,8 @@ to refer to "contexts", which is the information that sfatables is requesting. B return the basic information needed in a dict. """ def fetch_context(slice_hrn, user_hrn, contexts): - slice_hrn = urn_to_hrn(slice_xrn)[0] - user_hrn = urn_to_hrn(user_xrn)[0] + #slice_hrn = urn_to_hrn(slice_xrn)[0] + #user_hrn = urn_to_hrn(user_xrn)[0] base_context = {'sfa':{'user':{'hrn':user_hrn}}} return base_context