change the format of the 'data' to something that nm is used to
[sfa.git] / sfa / methods / get_ticket.py
index 7b6b3e6..75e36b2 100644 (file)
@@ -83,9 +83,13 @@ class get_ticket(Method):
             
         # get initscripts
         initscripts = None
-        sliver['initscripts'] = initscripts
-        
-        new_ticket.set_attributes(sliver)
+        data = {
+            'timestamp': int(time.time()),
+            'initscripts': initscripts,
+            'slivers': sliver 
+        }
+
+        new_ticket.set_attributes(attributes)
         new_ticket.set_rspec(rspec)
 
         new_ticket.set_parent(self.api.auth.hierarchy.get_auth_ticket(auth_hrn))