From: Tony Mack Date: Mon, 16 Aug 2010 17:06:39 +0000 (+0000) Subject: should compress the 'filtered_rspec' X-Git-Tag: sfa-1.0-0~41 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=dcd5d06abd4b5b07320f8fef464c035c7a2fa9ef;p=sfa.git should compress the 'filtered_rspec' and not the 'rspec' variable --- diff --git a/sfa/methods/ListResources.py b/sfa/methods/ListResources.py index bf616c7b..bcc1b236 100644 --- a/sfa/methods/ListResources.py +++ b/sfa/methods/ListResources.py @@ -48,7 +48,7 @@ class ListResources(Method): filtered_rspec = run_sfatables(chain_name, hrn, origin_hrn, rspec) if options.has_key('geni_compressed') and options['geni_compressed'] == True: - filtered_rspec = zlib.compress(rspec).encode('base64') + filtered_rspec = zlib.compress(filtered_rspec).encode('base64') return filtered_rspec