define systemd.log_target=console when used with systemd-debug
[plcapi.git] / PLC / Methods / GetSliceTicket.py
index c56f328..13c7840 100644 (file)
@@ -1,6 +1,3 @@
-# $Id$
-# $URL$
-
 import time
 
 from PLC.Faults import *
@@ -57,13 +54,13 @@ class GetSliceTicket(Method):
 
         # Tickets are the canonicalized XML-RPC methodResponse
         # representation of a partial GetSlivers() response, i.e.,
-       
-       initscripts = InitScripts(self.api, {'enabled': True})
+
+        initscripts = InitScripts(self.api, {'enabled': True})
 
         data = {
             'timestamp': int(time.time()),
-           'initscripts': initscripts,
-            'slivers': get_slivers(self.api, [slice['slice_id']]),
+            'initscripts': initscripts,
+            'slivers': get_slivers(self.api, self.caller, auth, [slice['slice_id']]),
             }
 
         # Sign ticket