From dcd5d06abd4b5b07320f8fef464c035c7a2fa9ef Mon Sep 17 00:00:00 2001 From: Tony Mack <tmack@cs.princeton.edu> Date: Mon, 16 Aug 2010 17:06:39 +0000 Subject: [PATCH] should compress the 'filtered_rspec' and not the 'rspec' variable --- sfa/methods/ListResources.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.0