fix Allocate
[sfa.git] / sfa / methods / Delete.py
index 9ed6e98..8233fb7 100644 (file)
@@ -16,8 +16,8 @@ class Delete(Method):
     interfaces = ['aggregate', 'slicemgr', 'component']
     
     accepts = [
-        Parameter([str], "Human readable name of slice to delete (hrn or urn)"),
-        Parameter(dict, "Credentials"),
+        Parameter(type([str]), "Human readable name of slice to delete (hrn or urn)"),
+        Parameter(type([dict]), "Credentials"),
         Parameter(dict, "options"),
         ]