sfadump more usable
[sfa.git] / sfa / methods / ListSlices.py
index 784effa..271bf9e 100644 (file)
@@ -1,8 +1,4 @@
-### $Id: stop_slice.py 17732 2010-04-19 21:10:45Z tmack $
-### $URL: https://svn.planet-lab.org/svn/sfa/trunk/sfa/methods/stop_slice.py $
-
 from sfa.util.faults import *
-from sfa.util.namespace import *
 from sfa.util.method import Method
 from sfa.util.parameter import Parameter, Mixed
 from sfa.trust.auth import Auth
@@ -33,5 +29,5 @@ class ListSlices(Method):
         self.api.logger.info("interface: %s\tcaller-hrn: %s\tmethod-name: %s"%(self.api.interface, origin_hrn, self.name))
 
         manager = self.api.get_interface_manager() 
-        return manager.get_slices(self.api, valid_creds)
+        return manager.get_slices(self.api, creds)