use self.get_auth_info
[sfa.git] / geni / methods / stop_slice.py
index ab5e165..ffe1dea 100644 (file)
@@ -1,5 +1,7 @@
+### $Id$
+### $URL$
+
 from geni.util.faults import *
-from geni.util.excep import *
 from geni.util.misc import *
 from geni.util.method import Method
 from geni.util.parameter import Parameter, Mixed
@@ -26,8 +28,8 @@ class stop_slice(Method):
     
     def call(self, cred, hrn):
        
-        self.api.auth.check(cred, 'startslice')
+        self.api.auth.check(cred, 'stopslice')
         slices = Slices(self.api)
-        slices.stop_slice(hrn):
+        slices.stop_slice(hrn)
         
         return 1