sfi.py: fix storing adv rspec in a file
authorMohamed Larabi <mohamed.larabi@inria.fr>
Mon, 2 Dec 2013 19:19:27 +0000 (20:19 +0100)
committerMohamed Larabi <mohamed.larabi@inria.fr>
Mon, 2 Dec 2013 19:19:27 +0000 (20:19 +0100)
sfa/client/sfi.py

index cfacd56..6bb41c9 100644 (file)
@@ -1098,7 +1098,7 @@ use this if you mean an authority instead""")
         if self.options.raw:
             save_raw_to_file(result, self.options.raw, self.options.rawformat, self.options.rawbanner)
         if options.file is not None:
-            save_rspec_to_file(value['geni_rspec'], options.file)
+            save_rspec_to_file(value, options.file)
         if (self.options.raw is None) and (options.file is None):
             display_rspec(value, options.format)