X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Fmanagers%2Faggregate_manager_pl.py;h=c4ca4e3d8df651179c6166afe3024a6233018db0;hb=78a2adc9eb10f710bf2f037fcbbe81f9e808da61;hp=c916c515ecc0df0ca46db2801ee3d83abc3b916a;hpb=f13f3edc7faf7ce0b7e19b0a36bf60c3a6102d10;p=sfa.git diff --git a/sfa/managers/aggregate_manager_pl.py b/sfa/managers/aggregate_manager_pl.py index c916c515..c4ca4e3d 100644 --- a/sfa/managers/aggregate_manager_pl.py +++ b/sfa/managers/aggregate_manager_pl.py @@ -1,4 +1,4 @@ -#!/usr/bin/python + import datetime import time @@ -316,10 +316,8 @@ def ListResources(api, creds, options,call_id): #panos adding the info option to the caching key (can be improved) if options.get('info'): - version_string = version_string + "_"+options.get('info') + version_string = version_string + "_"+options.get('info', 'default') - print "[aggregate] version string = ",version_string - # look in cache first if caching and api.cache and not xrn: rspec = api.cache.get(version_string)