From: Sapan Bhatia Date: Tue, 8 Sep 2009 21:30:18 +0000 (+0000) Subject: This change fixes the WSDL build. I am aware that it removes a bit of flexibility... X-Git-Tag: sfa-0.9-1~11 X-Git-Url: http://git.onelab.eu/?p=sfa.git;a=commitdiff_plain;h=3f6347c4fc79310fd192090cb2036a80b84df51c This change fixes the WSDL build. I am aware that it removes a bit of flexibility, and will fix the WSDL generator eventually, but I would like to test the generated WSDL before I make that change. In the meantime, please accommodate this simplification. --- diff --git a/sfa/methods/get_aggregates.py b/sfa/methods/get_aggregates.py index 6f5bc7fc..7cf8d79a 100644 --- a/sfa/methods/get_aggregates.py +++ b/sfa/methods/get_aggregates.py @@ -21,8 +21,8 @@ class get_aggregates(Method): accepts = [ Parameter(str, "Credential string"), - Mixed([Parameter(str, "Human readable name (hrn)")], - Parameter(str, "Human readable name (hrn)"), + + Mixed(Parameter(str, "Human readable name (hrn)"), Parameter(None, "hrn not specified")) ] diff --git a/sfa/methods/get_registries.py b/sfa/methods/get_registries.py index 69b07519..e928aa25 100644 --- a/sfa/methods/get_registries.py +++ b/sfa/methods/get_registries.py @@ -21,8 +21,8 @@ class get_registries(Method): accepts = [ Parameter(str, "Credential string"), - Mixed([Parameter(str, "Human readable name (hrn)")], - Parameter(str, "Human readable name (hrn)"), + + Mixed(Parameter(str, "Human readable name (hrn)"), Parameter(None, "hrn not specified")) ]