From 9d434b4200b3676cf416ca79bc07021549dd427b Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Mon, 2 May 2011 14:26:04 -0400 Subject: [PATCH] do not cache slice rspec --- sfa/managers/aggregate_manager_pl.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sfa/managers/aggregate_manager_pl.py b/sfa/managers/aggregate_manager_pl.py index 9f407ee0..df6f1ce7 100644 --- a/sfa/managers/aggregate_manager_pl.py +++ b/sfa/managers/aggregate_manager_pl.py @@ -322,8 +322,9 @@ def ListResources(api, creds, options,call_id): else: # generate rspec in both pg and sfa formats rspec = aggregate.get_rspec(version=rspec_version) + # cache the result - if caching and api.cache: + if caching and api.cache and not xrn: api.cache.add(version_string, rspec) return rspec -- 2.43.0