another syntax error
[sfa.git] / sfa / methods / ListSlices.py
index eed408f..b196777 100644 (file)
@@ -1,7 +1,9 @@
 from sfa.util.method import Method
-from sfa.util.parameter import Parameter, Mixed
+
 from sfa.trust.credential import Credential
  
+from sfa.storage.parameter import Parameter, Mixed
+
 class ListSlices(Method):
     """
     List the slices instantiated at this interface       
@@ -20,7 +22,7 @@ class ListSlices(Method):
 
     returns = Parameter(list, "List of slice names")
     
-    def call(self, creds, options={}):
+    def call(self, creds, options):
         valid_creds = self.api.auth.checkCredentials(creds, 'listslices')
 
         #log the call