it's no use to provide a default for options in ListResources since
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Mon, 5 Dec 2011 14:17:09 +0000 (15:17 +0100)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Mon, 5 Dec 2011 14:17:09 +0000 (15:17 +0100)
the version is mandatory

sfa/methods/ListResources.py

index bc01935..04359a0 100644 (file)
@@ -23,7 +23,7 @@ class ListResources(Method):
         ]
     returns = Parameter(str, "List of resources")
 
-    def call(self, creds, options={}):
+    def call(self, creds, options):
         self.api.logger.info("interface: %s\tmethod-name: %s" % (self.api.interface, self.name))
        
         # client must specify a version