From 3f6347c4fc79310fd192090cb2036a80b84df51c Mon Sep 17 00:00:00 2001 From: Sapan Bhatia Date: Tue, 8 Sep 2009 21:30:18 +0000 Subject: [PATCH] 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. --- sfa/methods/get_aggregates.py | 4 ++-- sfa/methods/get_registries.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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")) ] -- 2.45.2