git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
346c7cf
)
do not cache slice rspec
author
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Mon, 2 May 2011 18:26:04 +0000
(14:26 -0400)
committer
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Mon, 2 May 2011 18:26:04 +0000
(14:26 -0400)
sfa/managers/aggregate_manager_pl.py
patch
|
blob
|
history
diff --git
a/sfa/managers/aggregate_manager_pl.py
b/sfa/managers/aggregate_manager_pl.py
index
9f407ee
..
df6f1ce
100644
(file)
--- 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