added request hash to list of accepted arguments
[sfa.git] / sfa / methods / stop_slice.py
index 42ad662..959b18f 100644 (file)
@@ -5,8 +5,8 @@ from sfa.util.faults import *
 from sfa.util.misc import *
 from sfa.util.method import Method
 from sfa.util.parameter import Parameter, Mixed
-from sfa.util.auth import Auth
-from sfa.util.slices import Slices
+from sfa.trust.auth import Auth
+from sfa.plc.slices import Slices
 
 class stop_slice(Method):
     """
@@ -24,7 +24,7 @@ class stop_slice(Method):
         Parameter(str, "Human readable name of slice to instantiate"),
         ]
 
-    returns = [Parameter(int, "1 if successful")]
+    returns = Parameter(int, "1 if successful")
     
     def call(self, cred, hrn):