From 304c11023bdc95ec0b484420edf89e82221a76ce Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Fri, 20 Nov 2009 19:22:29 +0000 Subject: [PATCH] change the format of the 'data' to something that nm is used to --- sfa/methods/get_ticket.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/sfa/methods/get_ticket.py b/sfa/methods/get_ticket.py index 7b6b3e6a..75e36b25 100644 --- a/sfa/methods/get_ticket.py +++ b/sfa/methods/get_ticket.py @@ -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)) -- 2.43.0