the first argument to Parameter needs to be a type
authorBarış Metin <Talip-Baris.Metin@sophia.inria.fr>
Wed, 16 Dec 2009 12:06:07 +0000 (12:06 +0000)
committerBarış Metin <Talip-Baris.Metin@sophia.inria.fr>
Wed, 16 Dec 2009 12:06:07 +0000 (12:06 +0000)
sfa/methods/get_gids.py

index 6a5fe69..119b783 100644 (file)
@@ -29,7 +29,7 @@ class get_gids(Method):
     accepts = [
         Parameter(str, "Certificate string"),
         Mixed(Parameter(str, "Human readable name (hrn)"), 
-              Parameter([str], "List of Human readable names (hrn)")), 
+              Parameter(type([str]), "List of Human readable names (hrn)")), 
         Mixed(Parameter(str, "Request hash"),
               Parameter(None, "Request hash not specified")) 
         ]